aboutsummaryrefslogtreecommitdiff
path: root/modules/title.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-21 09:54:51 +0100
committerGravatar jesopo2019-05-21 09:54:51 +0100
commit9a5ba753d0d5f1098eb244557a41e365c6781720 (patch)
treef459f0c485d55e41243a215880189264c25f8f16 /modules/title.py
parentMove regex-based github info to command.regex hooks (diff)
signature
event.eat() in command.regex for !title
Diffstat (limited to 'modules/title.py')
-rw-r--r--modules/title.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/title.py b/modules/title.py
index 17be649b..73eba563 100644
--- a/modules/title.py
+++ b/modules/title.py
@@ -52,6 +52,7 @@ class Module(ModuleManager.BaseModule):
:pattern-url: 1
"""
if event["target"].get_setting("auto-title", False):
+ event.eat()
url = event["match"].group(0)
title = self._get_title(event["target"], event["match"].group(0))