Fixed double-reply on bracketed non-commands

This commit is contained in:
Jeremy Fincher 2003-03-31 07:00:25 +00:00
parent 8e32a7cef9
commit 2806ec0a69

View File

@ -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: