mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Merge pull request #697 from sckasturi/patch-2
Add the channel invalid command was called in.
This commit is contained in:
commit
391c645617
@ -167,7 +167,9 @@ class Misc(callbacks.Plugin):
|
|||||||
if tokens:
|
if tokens:
|
||||||
# echo [] will get us an empty token set, but there's no need
|
# 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.
|
# to log this in that case anyway, it being a nested command.
|
||||||
self.log.info('Not replying to %s, not a command.', tokens[0])
|
self.log.info('Not replying to %s in %s, not a command.' %
|
||||||
|
(tokens[0], "channel %s" % channel
|
||||||
|
if not 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