1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

remove obsolete bot_user check; decrease debug logging

This commit is contained in:
urlbot
2014-12-02 16:32:53 +01:00
parent 1dd4637820
commit 83d6ecff37
2 changed files with 1 additions and 5 deletions

View File

@@ -471,10 +471,6 @@ def data_parse_commands(msg):
if 2 > len(words): # need at least two words
return None
# don't reply if beginning of the text matches bot_user
if not words[1].startswith(conf('bot_user')):
return None
if 'hangup' in data:
logger('warn', 'received hangup: ' + data)
sys.exit(1)