From 91de0b066cc60ef6cc3d680172797d6b1a4d7421 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 6 Sep 2003 08:00:46 +0000 Subject: [PATCH] Fix bug that didn't allow commands without arguments in onStart. --- src/callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callbacks.py b/src/callbacks.py index d9b93f9d3..f50302c1d 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -457,7 +457,7 @@ class Privmsg(irclib.IrcCallback): if self.isCommand(command): #debug.printf('%s: %r' % (command, args)) 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) try: world.startup = True