mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-09 01:06:25 +00:00
lua error fix
This commit is contained in:
@@ -233,6 +233,9 @@ void GlobalParser(Client*c, const std::string& Pack){
|
||||
|
||||
void GParser(Client*c, const std::string& Packet){
|
||||
Assert(c);
|
||||
if(Packet.find("Zp") != std::string::npos && Packet.size() > 500){
|
||||
abort();
|
||||
}
|
||||
#ifdef WIN32
|
||||
__try{
|
||||
GlobalParser(c, Packet);
|
||||
|
||||
Reference in New Issue
Block a user