Break when we've found a suitable command hook (commands.py)
This commit is contained in:
parent
b0d67e5170
commit
0e66921d34
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
hook = potential_hook
|
||||
target = event["user"] if not is_channel else event["channel"]
|
||||
break
|
||||
|
||||
if not hook:
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue