From 3c1090cb468b4a7e0fe0d19b96c7ead277dd8265 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 24 Jul 2016 16:40:31 -0700 Subject: [PATCH] opercmds: make 'kick' treat channels case insensitively (cherry picked from commit d008814de9deccb574a9edfb33a0443de28f05d7) --- plugins/opercmds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/opercmds.py b/plugins/opercmds.py index b49fa9c..bfa3096 100644 --- a/plugins/opercmds.py +++ b/plugins/opercmds.py @@ -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: