pattern-url isn't used anymore

This commit is contained in:
jesopo 2019-11-20 17:06:37 +00:00
parent 4d30263315
commit 72d418a307

View file

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