strip command char and space from invalidcommands
This commit is contained in:
parent
995380dcae
commit
c0b045f4ef
|
@ -88,7 +88,7 @@ class BotLibre(callbacks.Plugin):
|
|||
def invalidCommand(self, irc, msg, tokens):
|
||||
chan = msg.args[0]
|
||||
if irc.isChannel(chan) and self.registryValue('invalidCommand', chan):
|
||||
self._queryBot(irc, chan, msg.args[1])
|
||||
self._queryBot(irc, chan, msg.args[1][1:].strip())
|
||||
|
||||
Class = BotLibre
|
||||
|
||||
|
|
Loading…
Reference in New Issue