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