From f9609a3260bca6b5420bc0e089be0b5c99ea08ed Mon Sep 17 00:00:00 2001 From: Timo Smit Date: Tue, 14 Mar 2017 17:32:50 +0100 Subject: [PATCH] Added extra condition for empty GUIDs --- luascripts/admin/admin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luascripts/admin/admin.lua b/luascripts/admin/admin.lua index 55d3374..fe028b5 100644 --- a/luascripts/admin/admin.lua +++ b/luascripts/admin/admin.lua @@ -120,7 +120,7 @@ function admin.onconnect(clientId, firstTime, isBot) stats.set(clientId, "namechangePts", 0) if firstTime then - if stats.get(clientId, "playerGUID") == "NO_GUID" or stats.get(clientId, "playerGUID") == "unknown" then + if stats.get(clientId, "playerGUID") == "" or stats.get(clientId, "playerGUID") == "NO_GUID" or stats.get(clientId, "playerGUID") == "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 end