From f79ffc85bd10d895ea403ea9a0034383e00486cd Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 5 May 2005 13:24:11 +0000 Subject: [PATCH] Fixed bug with replies when it's not a command and it's not nested. --- plugins/Misc/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Misc/plugin.py b/plugins/Misc/plugin.py index f3b849774..e2d9d3561 100644 --- a/plugins/Misc/plugin.py +++ b/plugins/Misc/plugin.py @@ -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: