ignore lines that are probably the bots own log lines

This commit is contained in:
urlbot
2014-10-11 16:31:09 +02:00
parent 94c538696f
commit 583e1174d6

View File

@@ -223,11 +223,15 @@ def parse_delete(filepath):
if content.startswith('PRIV#'):
parse_pn(content)
return
if 'nospoiler' in content:
# logger('info', "no spoiler for: " + content)
return
if sys.argv[0] in content:
logger('info', 'silenced, this is my own log')
return
if True != extract_url(content):
plugins.data_parse_commands(content)
plugins.data_parse_other(content)