mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Added extra condition for empty GUIDs
This commit is contained in:
parent
0a230d592d
commit
16891a37c8
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ function admin.onconnectattempt(clientId, firstTime, isBot)
|
|||
if firstTime then
|
||||
local guid = et.Info_ValueForKey(et.trap_GetUserinfo(clientId), "cl_guid")
|
||||
|
||||
if guid == "NO_GUID" or guid == "unknown" then
|
||||
if guid == "" or guid == "NO_GUID" or guid == "unknown" then
|
||||
return "\n\nIt appears you do not have a ^7GUID^9/^7etkey^9. In order to play on this server, enable ^7PunkBuster ^9(use ^7\\pb_cl_enable^9) ^9and/or create an ^7etkey^9.\n\nMore info: ^7www.etkey.org"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue