diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-20 20:08:26 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-20 20:08:26 +0000 |
commit | 8c45acb731d8ba8bc07f0934af2d4aeda637b155 (patch) | |
tree | 50f9e19cbdfd36a6dfe49284b7607e14c09f16ee /lib/rbot/ircsocket.rb | |
parent | da24f0f90c86a399a716d90c645ab921d03c5f51 (diff) |
All lib/rbot files are now upgraded to the new logging feature
Diffstat (limited to 'lib/rbot/ircsocket.rb')
-rw-r--r-- | lib/rbot/ircsocket.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rbot/ircsocket.rb b/lib/rbot/ircsocket.rb index 2a1549a2..5a06c075 100644 --- a/lib/rbot/ircsocket.rb +++ b/lib/rbot/ircsocket.rb @@ -93,10 +93,10 @@ module Irc begin @sock=TCPSocket.new(@server, @port, @host) rescue ArgumentError => e - $stderr.puts "Your version of ruby does not support binding to a " - $stderr.puts "specific local address, please upgrade if you wish " - $stderr.puts "to use HOST = foo" - $stderr.puts "(this option has been disabled in order to continue)" + error "Your version of ruby does not support binding to a " + error "specific local address, please upgrade if you wish " + error "to use HOST = foo" + error "(this option has been disabled in order to continue)" @sock=TCPSocket.new(@server, @port) end else |