fix !revealroles working during games
This commit is contained in:
parent
aedf39efce
commit
bc8e7e6da1
@ -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():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user