From bfa42ea22056e7a7ffa4c944c95f161e688d90e3 Mon Sep 17 00:00:00 2001 From: neersighted Date: Mon, 2 Apr 2012 10:30:58 -0700 Subject: [PATCH] Fixed Admin-by-nick bug --- plugins/sieve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sieve.py b/plugins/sieve.py index ccc4174..ce7e0c6 100755 --- a/plugins/sieve.py +++ b/plugins/sieve.py @@ -32,7 +32,7 @@ def sieve_suite(bot, input, func, kind, args): if args.get('adminonly', False): admins = bot.config.get('admins', []) - if input.nick not in admins and input.mask not in admins: + if input.nick.lower() not in admins and input.mask.lower() not in admins: input.notice("Sorry, you are not allowed to use this command.") return None