From e2535ab621a381f7224303d504a4184097354ee2 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Mon, 2 Jan 2012 21:22:29 -0500 Subject: [PATCH] fix admin commands --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 3499178..e06e775 100755 --- a/bot.py +++ b/bot.py @@ -186,8 +186,8 @@ class Phenny(irc.Bot): s.group = match.group s.groups = match.groups s.args = args - s.admin = self.nick in self.config.admins - s.owner = self.nick == self.config.owner + s.admin = s.nick in self.config.admins + s.owner = s.nick == self.config.owner return s return CommandInput(text, origin, bytes, match, event, args)