mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fixed double-reply on bracketed non-commands
This commit is contained in:
parent
8e32a7cef9
commit
2806ec0a69
@ -234,6 +234,7 @@ class IrcObjectProxy:
|
|||||||
if callback is None:
|
if callback is None:
|
||||||
self.args.insert(0, name)
|
self.args.insert(0, name)
|
||||||
self.reply(self.msg, '[%s]' % ' '.join(self.args))
|
self.reply(self.msg, '[%s]' % ' '.join(self.args))
|
||||||
|
else:
|
||||||
command = getattr(callback, name)
|
command = getattr(callback, name)
|
||||||
callback.callCommand(command, self, self.msg, self.args)
|
callback.callCommand(command, self, self.msg, self.args)
|
||||||
except Error, e:
|
except Error, e:
|
||||||
|
Loading…
Reference in New Issue
Block a user