test
This commit is contained in:
parent
aef147df2b
commit
6c249f5c95
@ -17,10 +17,9 @@ def prerun():
|
|||||||
# we are going to redispatch commands
|
# we are going to redispatch commands
|
||||||
# This will give sopel the appearance of recieving individual commands
|
# This will give sopel the appearance of recieving individual commands
|
||||||
if comrun.is_multi_command:
|
if comrun.is_multi_command:
|
||||||
print(comrun.is_rulematch)
|
|
||||||
if not comrun.is_rulematch:
|
if not comrun.is_rulematch:
|
||||||
sb.commands.dispatch(comrun.command)
|
sb.commands.dispatch(comrun.command)
|
||||||
elif comrun.is_rulematch and comrun.has_command_been_sanitized:
|
elif comrun.is_rulematch and comrun.has_command_been_sanitized and not comrun.is_real_command:
|
||||||
sb.commands.dispatch(comrun.command)
|
sb.commands.dispatch(comrun.command)
|
||||||
for trigger_dict in comrun.commands[1:]:
|
for trigger_dict in comrun.commands[1:]:
|
||||||
sb.commands.dispatch(trigger_dict)
|
sb.commands.dispatch(trigger_dict)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user