diff --git a/src/callbacks.py b/src/callbacks.py index 434232aa4..d9b93f9d3 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -284,6 +284,8 @@ class IrcObjectProxy: self.finalEval() def finalEval(self): + if self.finalEvaled: + raise ValueError, 'finalEval called twice. Odd.' self.finalEvaled = True originalName = self.args.pop(0) name = canonicalName(originalName) @@ -510,7 +512,7 @@ class Privmsg(irclib.IrcCallback): if s: recipient = msg.args[0] if ircdb.checkIgnored(msg.prefix, recipient): - debug.printf('Privmsg.doPrivmsg: ignoring %s.' % msg.prefix) + debug.msg('Privmsg.doPrivmsg: ignoring %s.' % msg.prefix) return m = self._r.match(s) if m and self.isCommand(canonicalName(m.group(1))):