]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
rfc2812: fix a bug in Client.user initialization
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 12 Feb 2008 23:37:25 +0000 (00:37 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 12 Feb 2008 23:37:25 +0000 (00:37 +0100)
lib/rbot/rfc2812.rb

index d4f1e46661f7104b51f7630cd470eb78a38ef374..cd6a96dbae8252caa991e00e378c99b2851f9404 100644 (file)
@@ -954,7 +954,7 @@ module Irc
     # Create a new Client instance
     def initialize
       @server = Server.new         # The Server
-      @user = @server.user("")     # The User representing the client on this Server
+      @user = @server.user("*!*@*")     # The User representing the client on this Server
 
       @handlers = Hash.new