Fixed bug with replies when it's not a command and it's not nested.

This commit is contained in:
Jeremy Fincher 2005-05-05 13:24:11 +00:00
parent 5274eb08a8
commit f79ffc85bd

View File

@ -88,7 +88,7 @@ class Misc(callbacks.Plugin):
# echo [] will get us an empty token set, but there's no need
# 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):
if irc.nested:
bracketConfig = conf.supybot.commands.nested.brackets
brackets = conf.get(bracketConfig, channel)
if brackets: