mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Disabled GUID and ban check when database is disabled (fixes #83).
This commit is contained in:
parent
8ef2d13015
commit
25af884c7e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ function admin.setPlayerLevel(clientId, level)
|
|||
end
|
||||
|
||||
function admin.onClientConnectAttempt(clientId, firstTime, isBot)
|
||||
if firstTime then
|
||||
if firstTime and settings.get("db_type") ~= "none" then
|
||||
local guid = et.Info_ValueForKey(et.trap_GetUserinfo(clientId), "cl_guid")
|
||||
|
||||
if guid == "" or guid == "NO_GUID" or guid == "unknown" then
|
||||
|
|
Loading…
Reference in a new issue