diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-03-19 15:05:50 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-03-19 15:05:50 +0000 |
commit | c5c4032d51e76c9e39fb0f1df0b50d4b394dadf8 (patch) | |
tree | 45a168aa0781495a522c58902a3ddb49fd2abbae /lib/rbot | |
parent | 961b1e3c038d2f7d476103d6f2157451d60a2edd (diff) |
* duh, operator precedence error in serverlist patch
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/ircsocket.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircsocket.rb b/lib/rbot/ircsocket.rb index e3586b70..b825a768 100644 --- a/lib/rbot/ircsocket.rb +++ b/lib/rbot/ircsocket.rb @@ -331,7 +331,7 @@ module Irc return end srv_uri = @server_list[@conn_count % @server_list.size].dup - srv_uri = 'irc://' + srv_uri if !srv_uri =~ /:\/\// + srv_uri = 'irc://' + srv_uri if !(srv_uri =~ /:\/\//) @conn_count += 1 @server_uri = URI.parse(srv_uri) @server_uri.port = 6667 if !@server_uri.port |