Fixed logging of ignores to actually say who's being ignored.

This commit is contained in:
Jeremy Fincher 2003-09-01 18:35:00 +00:00
parent 5c92c85342
commit ebc00fe4d7

View File

@ -506,7 +506,7 @@ class Privmsg(irclib.IrcCallback):
if s:
recipient = msg.args[0]
if ircdb.checkIgnored(msg.prefix, recipient):
debug.printf('Privmsg.doPrivmsg: ignoring %s.' % recipient)
debug.printf('Privmsg.doPrivmsg: ignoring %s.' % msg.prefix)
return
m = self._r.match(s)
if m and self.isCommand(canonicalName(m.group(1))):