Skip to content

Commit

Permalink
Remove permission checks for cmdinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed Nov 15, 2017
1 parent bdcb024 commit 354e93f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/core/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ def cmdinfo(text, bot, notice, event):

if cmd_hook.permissions:
info += ", Permissions: [{}]".format(', '.join(cmd_hook.permissions))
if not (yield from event.check_permissions(cmd_hook.permissions)):
notice("Sorry, you are not allowed to view information about this command")
return

notice(info)

Expand Down

0 comments on commit 354e93f

Please sign in to comment.