mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-17 23:52:49 +01:00
automode: treat channels case insensitively in 'delacc'
This commit is contained in:
parent
64dd7e9387
commit
cb7e7abec5
@ -142,6 +142,7 @@ def delacc(irc, source, args):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
channel, mask = args
|
channel, mask = args
|
||||||
|
channel = irc.toLower(channel)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
reply(irc, "Error: Invalid arguments given. Needs 2: channel, mask")
|
reply(irc, "Error: Invalid arguments given. Needs 2: channel, mask")
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user