mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
remove blacklist message from output
This commit is contained in:
@@ -144,9 +144,7 @@ def extract_url(data):
|
|||||||
for b in conf('url_blacklist'):
|
for b in conf('url_blacklist'):
|
||||||
if not None is re.match(b, url):
|
if not None is re.match(b, url):
|
||||||
flag = True
|
flag = True
|
||||||
message = 'url blacklist match for ' + url
|
logger('info', 'url blacklist match for ' + url)
|
||||||
logger('info', message)
|
|
||||||
chat_write(message)
|
|
||||||
|
|
||||||
if flag:
|
if flag:
|
||||||
# an URL has matched the blacklist, continue to the next URL
|
# an URL has matched the blacklist, continue to the next URL
|
||||||
|
|||||||
Reference in New Issue
Block a user