From c5a5a8b6c1189ad1bf4499bfcc278baf9cfeae52 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sat, 26 Dec 2015 23:28:42 +0100 Subject: [PATCH] fix message --- urlbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urlbot.py b/urlbot.py index 7bfec83..eed8327 100755 --- a/urlbot.py +++ b/urlbot.py @@ -166,9 +166,9 @@ class UrlBot(IdleBot): msg_obj['type'] = 'chat' self.send_reply("You're flagged as bot, please write {}: remove-from-botlist " "{} if you're not a bot.".format( - config.conf_get('bot_nickname'), msg_obj['mucnick'] + config.conf_get('bot_nickname'), msg_obj['from'].bare ), msg_obj) - self.logger.debug("not talking to the other bot named {}".format(msg_obj['mucnick'])) + self.logger.debug("not talking to the other bot named {}".format(msg_obj['from'].bare)) return False self.send_message( mto=msg_obj['from'].bare,