aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-30 19:15:11 +0000
committerGravatar jesopo2019-01-30 19:15:11 +0000
commit0e66921d347939f8aeef2b438a7eb9a061865abe (patch)
treea1c30608fb68a1fbbfed45e74908a9d3af012bd7
parentUse correct arg indexes for private channelset (set.py) (diff)
signature
Break when we've found a suitable command hook (commands.py)
-rw-r--r--modules/commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/commands.py b/modules/commands.py
index 14979cfd..cf0f3207 100644
--- a/modules/commands.py
+++ b/modules/commands.py
@@ -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