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'): 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