1
0
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:
urlbot
2014-11-28 19:36:15 +01:00
parent cb6873c2f6
commit 9f6078a314

View File

@@ -144,9 +144,7 @@ def extract_url(data):
for b in conf('url_blacklist'):
if not None is re.match(b, url):
flag = True
message = 'url blacklist match for ' + url
logger('info', message)
chat_write(message)
logger('info', 'url blacklist match for ' + url)
if flag:
# an URL has matched the blacklist, continue to the next URL