This commit is contained in:
deathbybandaid 2022-02-24 10:31:59 -05:00
parent 5eed85c861
commit e5a5f4a886

View File

@ -16,6 +16,7 @@ def prerun():
# Since there was more than one command,
# we are going to redispatch commands
# This will give sopel the appearance of recieving individual commands
print(comrun.commands)
if len(comrun.commands) > 1:
if comrun.is_rulematch:
if not comrun.is_real_command:
@ -29,7 +30,6 @@ def prerun():
# If the original trigger is not the same after && or | split
# so we will now redispatch to help get the correct function passed
if comrun.has_command_been_sanitized:
print("here")
if comrun.is_pipe_command:
trigger_dict = rebuild_pipes(comrun.commands)
else: