fix message

This commit is contained in:
Thorsten
2015-12-26 23:28:42 +01:00
parent f43106d471
commit c5a5a8b6c1

View File

@@ -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,