mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Fixed bug with empty [] in command.
This commit is contained in:
parent
b2beec0804
commit
7b3a62eacf
@ -259,13 +259,16 @@ class IrcObjectProxy:
|
|||||||
"A proxy object to allow proper nested of commands (even threaded ones)."
|
"A proxy object to allow proper nested of commands (even threaded ones)."
|
||||||
def __init__(self, irc, msg, args):
|
def __init__(self, irc, msg, args):
|
||||||
#debug.printf('__init__: %s' % args)
|
#debug.printf('__init__: %s' % args)
|
||||||
self.irc = irc
|
if not args:
|
||||||
self.msg = msg
|
irc.reply(msg, '[]')
|
||||||
self.args = args
|
else:
|
||||||
self.counter = 0
|
self.irc = irc
|
||||||
self.finalEvaled = False
|
self.msg = msg
|
||||||
world.commandsProcessed += 1
|
self.args = args
|
||||||
self.evalArgs()
|
self.counter = 0
|
||||||
|
self.finalEvaled = False
|
||||||
|
world.commandsProcessed += 1
|
||||||
|
self.evalArgs()
|
||||||
|
|
||||||
def findCallback(self, commandName):
|
def findCallback(self, commandName):
|
||||||
# Mostly for backwards compatibility now.
|
# Mostly for backwards compatibility now.
|
||||||
|
Loading…
Reference in New Issue
Block a user