Fix nick comparison

This commit is contained in:
Joscha 2016-05-23 17:55:22 +02:00
parent 1e8fc2fb96
commit 3d8940ab4e

View file

@ -82,4 +82,4 @@ class BotManager():
"""
return {bot_id: bot for bot_id, bot in self.bots.items()
if bot.roomname() == room and bot.mentionable() == nick}
if bot.roomname() == room and bot.mentionable().lower() == nick.lower()}