3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

automode: treat channels case insensitively in 'delacc'

This commit is contained in:
James Lu 2016-07-11 16:29:02 -07:00
parent 64dd7e9387
commit cb7e7abec5

View File

@ -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