mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
Fix modifyChat exploit (#3259)
This commit is contained in:
parent
a667672c3b
commit
afaf942ca8
@ -19,6 +19,8 @@ registerCallback("destruct",function(self)
|
||||
end)
|
||||
|
||||
hook.Add("PlayerSay","Exp2TextReceiving", function(ply, text, teamchat)
|
||||
chipHideChat, chipChatReplacement = nil, nil
|
||||
|
||||
local entry = { text, CurTime(), ply, teamchat }
|
||||
TextList[ply:EntIndex()] = entry
|
||||
TextList.last = entry
|
||||
@ -169,4 +171,4 @@ E2Lib.registerEvent("chat", {
|
||||
{ "Player", "e" },
|
||||
{ "Message", "s" },
|
||||
{ "Team", "n" }
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user