Skip to content

Commit

Permalink
Add str.lower() to elif in during lookup in show_mask()
Browse files Browse the repository at this point in the history
This needs to be lower()'d as well
  • Loading branch information
Preston4tw committed Jul 15, 2013
1 parent a40adec commit 9efa252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adminchannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def show_mask(bot, trigger):
return
if not bot.db:
bot.say("I'm afraid I can't do that.")
elif trigger.sender in bot.db.preferences:
elif trigger.sender.lower() in bot.db.preferences:
bot.say(bot.db.preferences.get(trigger.sender.lower(), 'topic_mask'))
else:
bot.say("%s")
Expand Down

0 comments on commit 9efa252

Please sign in to comment.