From a3a0cd7e31f63646aaaa38ecbba53738c795431e Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Mon, 24 Jun 2019 10:32:44 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/Prerun.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sopel_modules/SpiceBot/Prerun.py b/sopel_modules/SpiceBot/Prerun.py index f7751c4..834b938 100644 --- a/sopel_modules/SpiceBot/Prerun.py +++ b/sopel_modules/SpiceBot/Prerun.py @@ -53,15 +53,14 @@ class BotPrerun(): trigger.sb["args"], trigger.sb["hyphen_arg"] = self.trigger_hyphen_args(trigger.sb["args"]) if not trigger.sb["hyphen_arg"]: # check if anything prohibits the nick from running the command - dowerun = self.trigger_runstatus(bot, trigger) - bot.say(str(dowerun)) - if dowerun: + if self.trigger_runstatus(bot, trigger): function(bot, trigger, *args, **kwargs) else: self.trigger_hyphen_arg_handler(bot, trigger) quit() return internal_prerun return actual_decorator + quit() def trigger_args(self, triggerargs_one, trigger_command_type='module'): trigger_args = spicemanip.main(triggerargs_one, 'create')