diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-03-16 15:41:12 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-03-16 15:41:12 +0000 |
commit | 82b04cffee6be4357aabdcaa58639e735769dd42 (patch) | |
tree | 571c42c07cc141f5c83aa383d9af05e6de70a396 /lib/rbot/rfc2812.rb | |
parent | 4b3c16ed1b5c3f3d5a9e372c7ae22c8eb26c41b7 (diff) |
Server hostname was not being set properly
Diffstat (limited to 'lib/rbot/rfc2812.rb')
-rw-r--r-- | lib/rbot/rfc2812.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/rfc2812.rb b/lib/rbot/rfc2812.rb index 482cefe7..bec3d322 100644 --- a/lib/rbot/rfc2812.rb +++ b/lib/rbot/rfc2812.rb @@ -914,7 +914,7 @@ module Irc data[:source] = @server end else - @server.instance_variable_set(:@hostname, data[:source]) + @server.instance_variable_set(:@hostname, prefix) data[:source] = @server end end |