summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-15 17:05:44 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-15 17:05:44 +0100
commit4d7284bd7742fd4937d648e2f0a150857258e2c7 (patch)
tree223e336c2fb527e39a928e4f83eb1f7135244769 /lib
parent0e95723ec2423b159eb1a1fe8cdb5ac1be84830a (diff)
rfc2812: fix a bug in Client.reset
similarly to commit a13ef0352, an empty user should be set with *!*@*
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/rfc2812.rb2
1 files changed, 1 insertions, 1 deletions
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