mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-01-01 05:01:40 +09:00
Allowed authorise to be true for server always
This commit is contained in:
@@ -210,6 +210,7 @@ end
|
|||||||
-- @treturn[2] string|locale_string the reason given by the authenticator
|
-- @treturn[2] string|locale_string the reason given by the authenticator
|
||||||
function Commands.authorize(player,command_name)
|
function Commands.authorize(player,command_name)
|
||||||
local failed
|
local failed
|
||||||
|
if not player then return true end
|
||||||
local command_data = Commands.commands[command_name]
|
local command_data = Commands.commands[command_name]
|
||||||
if not command_data then return false end
|
if not command_data then return false end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user