mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Fix bug that didn't allow commands without arguments in onStart.
This commit is contained in:
parent
8fa457ec3a
commit
91de0b066c
@ -457,7 +457,7 @@ class Privmsg(irclib.IrcCallback):
|
|||||||
if self.isCommand(command):
|
if self.isCommand(command):
|
||||||
#debug.printf('%s: %r' % (command, args))
|
#debug.printf('%s: %r' % (command, args))
|
||||||
method = getattr(self, command)
|
method = getattr(self, command)
|
||||||
line = ' '.join(map(utils.dqrepr, args))
|
line = '%s %s' % (command, ' '.join(map(utils.dqrepr, args)))
|
||||||
msg = ircmsgs.privmsg(fakeIrc.nick, line, fakeIrc.prefix)
|
msg = ircmsgs.privmsg(fakeIrc.nick, line, fakeIrc.prefix)
|
||||||
try:
|
try:
|
||||||
world.startup = True
|
world.startup = True
|
||||||
|
Loading…
Reference in New Issue
Block a user