From 4d7284bd7742fd4937d648e2f0a150857258e2c7 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 15 Feb 2008 17:05:44 +0100 Subject: rfc2812: fix a bug in Client.reset similarly to commit a13ef0352, an empty user should be set with *!*@* --- lib/rbot/rfc2812.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbot/rfc2812.rb') diff --git a/lib/rbot/rfc2812.rb b/lib/rbot/rfc2812.rb index cd6a96db..375bcc1b 100644 --- a/lib/rbot/rfc2812.rb +++ b/lib/rbot/rfc2812.rb @@ -966,7 +966,7 @@ module Irc # Clear the server and reset the user def reset @server.clear - @user = @server.user("") + @user = @server.user("*!*@*") end # key:: server event to handle -- cgit v1.2.3