Actually check auto-title setting

This commit is contained in:
jesopo 2019-05-19 10:44:48 +01:00
parent 66c3d26531
commit e4bc57b3cc

View file

@ -51,6 +51,7 @@ class Module(ModuleManager.BaseModule):
:command: title :command: title
:pattern-url: 1 :pattern-url: 1
""" """
if event["target"].get_setting("auto-title", False):
url = event["match"].group(0) url = event["match"].group(0)
title = self._get_title(event["target"], event["match"].group(0)) title = self._get_title(event["target"], event["match"].group(0))