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):
|
||||
event.eat()
|
||||
url = utils.http.url_sanitise(event["match"].group(0))
|
||||
title = self._get_title(event["server"], event["target"],
|
||||
event["match"].group(0))
|
||||
title = self._get_title(event["server"], event["target"], url)
|
||||
|
||||
if title:
|
||||
message = title
|
||||
|
|
Loading…
Reference in a new issue