use utils.http.url_sanitise() in title.py
This commit is contained in:
parent
637067c62c
commit
df5f29f943
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
def channel_message(self, event):
|
def channel_message(self, event):
|
||||||
if event["target"].get_setting("auto-title", False):
|
if event["target"].get_setting("auto-title", False):
|
||||||
event.eat()
|
event.eat()
|
||||||
url = event["match"].group(0)
|
url = utils.http.url_sanitise(event["match"].group(0))
|
||||||
title = self._get_title(event["server"], event["target"],
|
title = self._get_title(event["server"], event["target"],
|
||||||
event["match"].group(0))
|
event["match"].group(0))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue