mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +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)
|
self.log.info('%s called by %q.', formatCommand(command), msg.prefix)
|
||||||
# XXX I'm being extra-special-careful here, but we need to refactor
|
# XXX I'm being extra-special-careful here, but we need to refactor
|
||||||
# this.
|
# this.
|
||||||
|
try:
|
||||||
for name in command:
|
for name in command:
|
||||||
cap = checkCommandCapability(msg, self, name)
|
cap = checkCommandCapability(msg, self, name)
|
||||||
if cap:
|
if cap:
|
||||||
irc.errorNoCapability(cap)
|
irc.errorNoCapability(cap)
|
||||||
return
|
return
|
||||||
try:
|
|
||||||
try:
|
try:
|
||||||
self.callingCommand = command
|
self.callingCommand = command
|
||||||
self.callCommand(command, irc, msg, *args, **kwargs)
|
self.callCommand(command, irc, msg, *args, **kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user