From 82b04cffee6be4357aabdcaa58639e735769dd42 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 16 Mar 2007 15:41:12 +0000 Subject: Server hostname was not being set properly --- lib/rbot/rfc2812.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3