mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
ignore lines that are probably the bots own log lines
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user