diff options
| author | 2019-07-02 14:36:18 +0100 | |
|---|---|---|
| committer | 2019-07-02 14:36:18 +0100 | |
| commit | 1aab5c4c64765c15f16310ecf3d25cf647b86a0d (patch) | |
| tree | 91e6090a3d10a1b6221cd8c0a210f183a3e89d38 /modules/title.py | |
| parent | use utils.http.url_sanitise() in title.py (diff) | |
| signature | ||
Actually use sanitised url when getting <title>
Diffstat (limited to 'modules/title.py')
| -rw-r--r-- | modules/title.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/title.py b/modules/title.py index b660b08c..b585e687 100644 --- a/modules/title.py +++ b/modules/title.py @@ -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 |
