From 81d1d56b0468ef97415b52f15212fbfe592f7cf5 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 7 May 2004 15:08:30 +0000 Subject: [PATCH] Handle variable prefixChars correct whenNotCommand. --- src/Misc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Misc.py b/src/Misc.py index 40d0441bb..ff199e044 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -66,7 +66,8 @@ class Misc(callbacks.Privmsg): # to log this in that case anyway, it being a nested command. self.log.info('Not replying to %s, not a command.' % tokens[0]) if not isinstance(irc.irc, irclib.Irc): - irc.reply('[%s]' % ' '.join(tokens)) + brackets = conf.supybot.reply.brackets.get(msg.args[0])() + irc.reply(''.join([brackets[0],' '.join(tokens), brackets[1]])) def list(self, irc, msg, args): """[--private] []