DrBotIRC: when doing ignore checks, lowercase the input nick, since that's what the config module does
This commit is contained in:
parent
d042c273c9
commit
341066a0ba
@ -111,7 +111,7 @@ class DrBotIRC(irclib.IRC):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
if self.config.has_section('Ignore'):
|
if self.config.has_section('Ignore'):
|
||||||
alias = self.config.get('Ignore', nick)
|
alias = self.config.get('Ignore', nick.lower())
|
||||||
if alias:
|
if alias:
|
||||||
print("ignoring " + nick + " as per config file")
|
print("ignoring " + nick + " as per config file")
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user