]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/irc.rb
Fix message handling, comment out some debug messages
[user/henk/code/ruby/rbot.git] / lib / rbot / irc.rb
index 87f3c93f7aeffd6913620b250c7ee7df75b11294..ffc2be7182681862bf4dacc80e1c220b40cdce7d 100644 (file)
@@ -1054,8 +1054,8 @@ module Irc
 \r
         @channels << chan\r
         @channel_names << name\r
-        debug "Created channel #{chan.inspect}"\r
-        debug "Managing channels #{@channel_names.join(', ')}"\r
+        debug "Created channel #{chan.inspect}"\r
+        debug "Managing channels #{@channel_names.join(', ')}"\r
         return chan\r
       end\r
     end\r
@@ -1104,10 +1104,10 @@ module Irc
       else\r
         tmp = User.new(str, self.casemap)\r
       end\r
-      debug "Creating or selecting user #{tmp.inspect} from #{str.inspect}"\r
+      debug "Creating or selecting user #{tmp.inspect} from #{str.inspect}"\r
       old = get_user(tmp.nick)\r
       if old\r
-        debug "User already existed as #{old.inspect}"\r
+        debug "User already existed as #{old.inspect}"\r
         if tmp.known?\r
           if old.known?\r
             raise "User #{tmp.nick} has inconsistent Netmasks! #{self} knows #{old.inspect} but access was tried with #{tmp.inspect}" if old != tmp\r
@@ -1115,7 +1115,7 @@ module Irc
           else\r
             old.user = tmp.user\r
             old.host = tmp.host\r
-            debug "User improved to #{old.inspect}"\r
+            debug "User improved to #{old.inspect}"\r
           end\r
         end\r
         return old\r