Actually use sanitised url when getting <title>
This commit is contained in:
parent
df5f29f943
commit
1aab5c4c64
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if event["target"].get_setting("auto-title", False):
|
if event["target"].get_setting("auto-title", False):
|
||||||
event.eat()
|
event.eat()
|
||||||
url = utils.http.url_sanitise(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"], url)
|
||||||
event["match"].group(0))
|
|
||||||
|
|
||||||
if title:
|
if title:
|
||||||
message = title
|
message = title
|
||||||
|
|
Loading…
Reference in a new issue