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: