From bfbd4135c820bf351177a723789d4f0ae950a875 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 23 Feb 2022 14:31:55 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 2aefebe..34a52d0 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -30,7 +30,7 @@ def prerun(rulematch=False): # If the original trigger is not the same after && split # so we will now redispatch to help get the correct function passed trigger_command = sb.commands.get_command_from_trigger(trigger) - if trigger_command != commands[0]["trigger_command"] and "&&" in trigger.args[1]: + if trigger_command != commands[0]["trigger_command"]: sb.commands.dispatch(commands[0]) return