Change to check plugin command list

pull/11/head
Sina Mashek 2017-12-06 13:28:00 +02:00
parent b09b832e30
commit 6205bd2aec
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class Bot(irc.bot.SingleServerIRCBot):
chan = nick
else:
chan = e.target
if e.arguments[0].startswith('!'):
if e.arguments[0] in plugin.pinhook.plugin.cmds:
self.process_command(c, e, nick, chan, e.arguments[0])
else:
output = None