From afec58b44093b85d63cb66f0cef89f20915277c8 Mon Sep 17 00:00:00 2001 From: Lynn Date: Sat, 5 Jan 2019 18:04:02 +0100 Subject: [PATCH] Admins have regular permissions, commands should reflect this --- utils/command.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/command.lua b/utils/command.lua index 992f3224..8ea32a70 100644 --- a/utils/command.lua +++ b/utils/command.lua @@ -155,7 +155,7 @@ function Command.add(command_name, options, callback) return end - if regular_only and not UserGroups.is_regular(player_name) then + if regular_only and not UserGroups.is_regular(player_name) and not player.admin then print(format("The command '%s' is not available to guests.", command_name)) return end