From 30ef0e1d49bfee4d154fc5dc024af76b953be009 Mon Sep 17 00:00:00 2001 From: urlbot Date: Sat, 7 Mar 2015 20:49:00 +0100 Subject: [PATCH] fix parsing URLs from own output --- urlbot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/urlbot.py b/urlbot.py index a6cb0ff..abcfc3f 100755 --- a/urlbot.py +++ b/urlbot.py @@ -228,6 +228,10 @@ def handle_msg(msg_obj): logger('info', 'no spoiler for: ' + content) return + # don't react to itself + if str(msg_obj['from']).startswith(conf('bot_user')): + return + arg_user = msg_obj['mucnick'] blob_userpref = conf_load().get('user_pref',[]) nospoiler = False