From 72d418a3073f615b5fa5cb4740a75a568911fd50 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 20 Nov 2019 17:06:37 +0000 Subject: pattern-url isn't used anymore --- modules/commands/__init__.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules') diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index 112a85b0..433e1097 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -307,9 +307,6 @@ class Module(ModuleManager.BaseModule): continue pattern = hook.get_kwarg("pattern", None) - if not pattern and hook.get_kwarg("pattern-url", None) == "1": - pattern = utils.http.REGEX_URL - if pattern: match = re.search(pattern, event["message"]) if match: -- cgit v1.3.1-10-gc9f91