diff options
| author | 2019-11-20 17:06:37 +0000 | |
|---|---|---|
| committer | 2019-11-20 17:06:37 +0000 | |
| commit | 72d418a3073f615b5fa5cb4740a75a568911fd50 (patch) | |
| tree | a8d3d484eab8f33e7a62e606c00d25f1ddf1cee3 /modules | |
| parent | give bitbot a unique User-Agent (diff) | |
| signature | ||
pattern-url isn't used anymore
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/commands/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
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: |
