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