Break when we've found a suitable command hook (commands.py)

This commit is contained in:
jesopo 2019-01-30 19:15:11 +00:00
parent b0d67e5170
commit 0e66921d34

View file

@ -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