mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-23 18:54:05 +01:00
opercmds: make 'kick' treat channels case insensitively
(cherry picked from commit d008814de9
)
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…
Reference in New Issue
Block a user