From 11d0cc283fe75f3f4b8a6eb1b4f5a0fe0df06cbe Mon Sep 17 00:00:00 2001 From: jcao219 Date: Wed, 27 Jul 2011 19:34:08 -0500 Subject: [PATCH] fix small bug from last commit --- decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decorators.py b/decorators.py index 089eedd..dc97132 100644 --- a/decorators.py +++ b/decorators.py @@ -31,7 +31,7 @@ def generate(fdict, **kwargs): largs[0].notice(largs[1], "You are not the owner.") return if admin_only: - if cloak and (cloak in botconfig.ADMINS or cloak == botconfig.OWNER): + if cloak and (cloak in botconfig.ADMINS or cloak in botconfig.OWNERS): return f(*largs) elif cloak: largs[0].notice(largs[1], "You are not an admin.")