lua error fix

This commit is contained in:
Anonymous275
2020-11-11 00:40:22 +02:00
parent 60c7997c6b
commit 94f6a81673
3 changed files with 13 additions and 3 deletions

View File

@@ -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);