3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-23 18:54:05 +01:00

opercmds: make 'kick' treat channels case insensitively

This commit is contained in:
James Lu 2016-07-24 16:40:31 -07:00
parent a2c5b11194
commit d008814de9

View File

@ -85,7 +85,7 @@ def kick(irc, source, args):
irc.checkAuthenticated(source, allowOper=False)
try:
sourcenick = args[0]
channel = args[1]
channel = irc.toLower(args[1])
target = args[2]
reason = ' '.join(args[3:])
except IndexError: