This commit is contained in:
deathbybandaid 2019-06-24 10:25:07 -04:00
parent 660d6b5613
commit bd47fe7900

View File

@ -91,7 +91,6 @@ class BotPrerun():
return prerun_split
def trigger_runstatus(self, bot, trigger):
return True
# Bots can't run commands
if Identifier(trigger.nick) == bot.nick:
@ -105,6 +104,9 @@ class BotPrerun():
bot.osd("The admin switch (-a) is for use by authorized nicks ONLY.", 'notice')
return False
if trigger.sb["hyphen_arg"]:
return False
# don't run commands that are disabled in channels
if not trigger.is_privmsg:
commandused = trigger.sb["realcom"]