DrBotIRC: when doing ignore checks, lowercase the input nick, since that's what the config module does

This commit is contained in:
Brian S. Stephan 2012-03-07 22:48:30 -06:00
parent d042c273c9
commit 341066a0ba
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class DrBotIRC(irclib.IRC):
try:
if self.config.has_section('Ignore'):
alias = self.config.get('Ignore', nick)
alias = self.config.get('Ignore', nick.lower())
if alias:
print("ignoring " + nick + " as per config file")
return