aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/commands/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py
index 78cad2e8..c99410a3 100644
--- a/modules/commands/__init__.py
+++ b/modules/commands/__init__.py
@@ -242,7 +242,7 @@ class Module(ModuleManager.BaseModule):
pattern = utils.http.REGEX_URL
if pattern:
- match = re.match(pattern, event["message"])
+ match = re.search(pattern, event["message"])
if match:
command = hook.get_kwarg("command", "")
res = self.command(event["server"], event["channel"],