fix admin commands

master
mutantmonkey 2012-01-02 21:22:29 -05:00
parent d972e70529
commit e2535ab621
1 changed files with 2 additions and 2 deletions

4
bot.py
View File

@ -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)