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
|
hook = potential_hook
|
||||||
target = event["user"] if not is_channel else event["channel"]
|
target = event["user"] if not is_channel else event["channel"]
|
||||||
|
break
|
||||||
|
|
||||||
if not hook:
|
if not hook:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue