Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Commit

Permalink
Log correct data for 'nick'
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan committed Apr 16, 2014
1 parent d2a19ee commit 044aa14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/travis/addons/irc/client.rb
Expand Up @@ -26,7 +26,7 @@ def self.wrap_ssl(socket)
end

def initialize(server, nick, options = {})
Travis.logger.info("Connecting to #{server} on port #{options[:port] || 6667} with nick #{options[:nick]}")
Travis.logger.info("Connecting to #{server} on port #{options[:port] || 6667} with nick #{nick}")

@socket = TCPSocket.open(server, options[:port] || 6667)
@socket = self.class.wrap_ssl(@socket) if options[:ssl]
Expand All @@ -46,7 +46,7 @@ def wait_for_numeric
end
end
rescue Timeout::Error => e
Travis.logger.warn("Gave up waiting for #{server}:#{options[:port] || 6667} to return a numeric")
Travis.logger.warn("Gave up waiting for #{server}:#{options[:port] || 6667} to return a numeric")
end

def join(channel, key = nil)
Expand Down

1 comment on commit 044aa14

@roidrage
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This class isn't used anymore, the change needs to be made in travis-tasks.

Please sign in to comment.