mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Misc: Improve code in previous merge.
This commit is contained in:
parent
391c645617
commit
c66072ffc2
@ -169,7 +169,7 @@ class Misc(callbacks.Plugin):
|
|||||||
# to log this in that case anyway, it being a nested command.
|
# to log this in that case anyway, it being a nested command.
|
||||||
self.log.info('Not replying to %s in %s, not a command.' %
|
self.log.info('Not replying to %s in %s, not a command.' %
|
||||||
(tokens[0], "channel %s" % channel
|
(tokens[0], "channel %s" % channel
|
||||||
if not channel == irc.nick else "private"))
|
if channel != irc.nick else "private"))
|
||||||
if irc.nested:
|
if irc.nested:
|
||||||
bracketConfig = conf.supybot.commands.nested.brackets
|
bracketConfig = conf.supybot.commands.nested.brackets
|
||||||
brackets = conf.get(bracketConfig, channel)
|
brackets = conf.get(bracketConfig, channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user