mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Fixed bug with empty [] in command.
This commit is contained in:
parent
b2beec0804
commit
7b3a62eacf
@ -259,6 +259,9 @@ class IrcObjectProxy:
|
||||
"A proxy object to allow proper nested of commands (even threaded ones)."
|
||||
def __init__(self, irc, msg, args):
|
||||
#debug.printf('__init__: %s' % args)
|
||||
if not args:
|
||||
irc.reply(msg, '[]')
|
||||
else:
|
||||
self.irc = irc
|
||||
self.msg = msg
|
||||
self.args = args
|
||||
|
Loading…
Reference in New Issue
Block a user