mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:07:34 +00:00
edt: kick message detection
This commit is contained in:
parent
007838d7a3
commit
d80e92607d
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user