mirror of
https://github.com/jlu5/PyLink.git
synced 2025-05-05 22:27:24 +02:00
opercmds: make 'kick' treat channels case insensitively
(cherry picked from commit d008814de9deccb574a9edfb33a0443de28f05d7)
This commit is contained in:
parent
3ba59f7c54
commit
3c1090cb46
@ -85,7 +85,7 @@ def kick(irc, source, args):
|
|||||||
irc.checkAuthenticated(source, allowOper=False)
|
irc.checkAuthenticated(source, allowOper=False)
|
||||||
try:
|
try:
|
||||||
sourcenick = args[0]
|
sourcenick = args[0]
|
||||||
channel = args[1]
|
channel = irc.toLower(args[1])
|
||||||
target = args[2]
|
target = args[2]
|
||||||
reason = ' '.join(args[3:])
|
reason = ' '.join(args[3:])
|
||||||
except IndexError:
|
except IndexError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user