edt: kick message detection

This commit is contained in:
Linventif 2024-03-05 06:52:35 +01:00
parent 007838d7a3
commit d80e92607d
No known key found for this signature in database
GPG Key ID: FAC0CA60F9AEEC24

View File

@ -15,7 +15,7 @@ end
// //
function gmInte.playerKick(data) function gmInte.playerKick(data)
if (data.reason != "Kicked by console" || data.reason != "No reason given") then if (string.StartWith(data.reason, "Kicked by ") || data.reason == "No reason provided.") then
return return
end end