git://git.furryclan.net
/
furrycat
/
catbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcaaad3
)
We already checked if user was admin before running admin commands.
author
CMDR furrycat
<elite@furrycat.net>
Thu, 2 Mar 2017 09:54:58 +0000
(09:54 +0000)
committer
CMDR furrycat
<elite@furrycat.net>
Thu, 2 Mar 2017 09:54:58 +0000
(09:54 +0000)
plugin/admin/admin.py
patch
|
blob
|
history
diff --git
a/plugin/admin/admin.py
b/plugin/admin/admin.py
index
0e5629b
..
24a47de
100644
(file)
--- a/
plugin/admin/admin.py
+++ b/
plugin/admin/admin.py
@@
-130,10
+130,6
@@
class Admin(object):
await cat.yelp(message.channel)
async def handle_permissions(self, message, args):
- if not bot.is_admin(message.author):
- await cat.hiss(message.channel)
- return
-
if args[0].lower() == 'help':
await self.help_command(message, 'permissions')
return