fix !revealroles working during games

This commit is contained in:
jacob1 2016-07-22 20:26:37 -04:00
parent aedf39efce
commit bc8e7e6da1

View File

@ -9574,6 +9574,7 @@ if botconfig.DEBUG_MODE or botconfig.ALLOWED_NORMAL_MODE_COMMANDS:
if not can_run_restricted_cmd(nick): if not can_run_restricted_cmd(nick):
reply(cli, nick, chan, messages["temp_invalid_perms"], private=True) reply(cli, nick, chan, messages["temp_invalid_perms"], private=True)
return
output = [] output = []
for role in var.role_order(): for role in var.role_order():