From 923869172eaa0cc1a98363dba517a25aa48b7046 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Fri, 1 Mar 2019 20:34:53 +0000 Subject: [PATCH] Allowed authorise to be true for server always --- expcore/commands.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/expcore/commands.lua b/expcore/commands.lua index da456014..5e9980ad 100644 --- a/expcore/commands.lua +++ b/expcore/commands.lua @@ -210,6 +210,7 @@ end -- @treturn[2] string|locale_string the reason given by the authenticator function Commands.authorize(player,command_name) local failed + if not player then return true end local command_data = Commands.commands[command_name] if not command_data then return false end