summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-02-14 09:28:29 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-02-14 09:28:29 +0000
commite43dbcf88298d2273c9cca2b3e5c226484686289 (patch)
tree0f80f98e0188590cd6654c8cc15fe29a2693ac5f /lib/rbot
parent5c42a7427e27a0aef771d90f040bce18d256f31d (diff)
New Irc Framework: fix bug in debug message causing failures
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/irc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/irc.rb b/lib/rbot/irc.rb
index b8ca4593..a4bd725a 100644
--- a/lib/rbot/irc.rb
+++ b/lib/rbot/irc.rb
@@ -644,7 +644,7 @@ module Irc
#
def matches?(arg)
cmp = arg.to_irc_netmask(:casemap => casemap)
- debug "Matching #{self.fullform} against #{arg.fullform}"
+ debug "Matching #{self.fullform} against #{arg.inspect} (#{cmp.fullform})"
[:nick, :user, :host].each { |component|
us = self.send(component).irc_downcase(casemap)
them = cmp.send(component).irc_downcase(casemap)