mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Put the monkey patch in the wrong place.
This commit is contained in:
parent
c9408a95f5
commit
5985562a31
@ -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.
|
||||
try:
|
||||
for name in command:
|
||||
cap = checkCommandCapability(msg, self, name)
|
||||
if cap:
|
||||
irc.errorNoCapability(cap)
|
||||
return
|
||||
try:
|
||||
try:
|
||||
self.callingCommand = command
|
||||
self.callCommand(command, irc, msg, *args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user