mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
Web: check URL whitelist in snarfer.
This commit is contained in:
parent
f305ff3c02
commit
054953891f
@ -139,6 +139,8 @@ class Web(callbacks.PluginRegexp):
|
||||
return
|
||||
if self.registryValue('titleSnarfer', channel):
|
||||
url = match.group(0)
|
||||
if not self._checkURLWhitelist(url):
|
||||
return
|
||||
r = self.registryValue('nonSnarfingRegexp', channel)
|
||||
if r and r.search(url):
|
||||
self.log.debug('Not titleSnarfing %q.', url)
|
||||
|
Loading…
Reference in New Issue
Block a user