pattern-url isn't used anymore
This commit is contained in:
parent
4d30263315
commit
72d418a307
1 changed files with 0 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue