Allowed authorise to be true for server always

This commit is contained in:
Cooldude2606
2019-03-01 20:34:53 +00:00
parent 62dcfe8694
commit 923869172e

View File

@@ -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