]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
New Irc Framework: fix bug in debug message causing failures
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 14 Feb 2007 09:28:29 +0000 (09:28 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 14 Feb 2007 09:28:29 +0000 (09:28 +0000)
lib/rbot/irc.rb

index b8ca459304d453b6e8e183ed656b684a1e7da882..a4bd725ab22e41ff8142f4da9324458accfad42e 100644 (file)
@@ -644,7 +644,7 @@ module Irc
     #\r
     def matches?(arg)\r
       cmp = arg.to_irc_netmask(:casemap => casemap)\r
-      debug "Matching #{self.fullform} against #{arg.fullform}"\r
+      debug "Matching #{self.fullform} against #{arg.inspect} (#{cmp.fullform})"\r
       [:nick, :user, :host].each { |component|\r
         us = self.send(component).irc_downcase(casemap)\r
         them = cmp.send(component).irc_downcase(casemap)\r