From 5985562a3123599f2498b86d69315f6a56859187 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 18 Feb 2005 23:53:11 +0000 Subject: [PATCH] Put the monkey patch in the wrong place. --- src/callbacks.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/callbacks.py b/src/callbacks.py index c2e69aa3b..e43faef38 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -1041,12 +1041,12 @@ class Commands(object): self.log.info('%s called by %q.', formatCommand(command), msg.prefix) # XXX I'm being extra-special-careful here, but we need to refactor # this. - for name in command: - cap = checkCommandCapability(msg, self, name) - if cap: - irc.errorNoCapability(cap) - return try: + for name in command: + cap = checkCommandCapability(msg, self, name) + if cap: + irc.errorNoCapability(cap) + return try: self.callingCommand = command self.callCommand(command, irc, msg, *args, **kwargs)