mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-08-27 04:37:41 +00:00
Add debug log for specific data condition in ServerSend
This commit is contained in:
@@ -61,6 +61,10 @@ void GameSend(std::string_view Data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ServerSend(std::string Data, bool Rel) {
|
void ServerSend(std::string Data, bool Rel) {
|
||||||
|
if (Data.length() > 1 && Data[0] == 't') {
|
||||||
|
debug("hey");
|
||||||
|
}
|
||||||
|
|
||||||
if (Terminate || Data.empty())
|
if (Terminate || Data.empty())
|
||||||
return;
|
return;
|
||||||
if (Data.find("Zp") != std::string::npos && Data.size() > 500) {
|
if (Data.find("Zp") != std::string::npos && Data.size() > 500) {
|
||||||
|
|||||||
Reference in New Issue
Block a user