don't count pps changes towards heartbeat hot-changes

This commit is contained in:
Lion Kortlepel 2021-03-09 01:13:37 +01:00 committed by Anonymous275
parent 15cad02e13
commit e039eeaab8

View File

@ -34,6 +34,8 @@ void THeartbeatThread::operator()() {
if (!Application::Settings.CustomIP.empty())
Body += "&ip=" + Application::Settings.CustomIP;
Body += "&pps=" + Application::PPS();
T = Http::POST("beammp.com", "/heartbeatv2", {}, Body, false);
if (T.substr(0, 2) != "20") {
@ -73,7 +75,6 @@ std::string THeartbeatThread::GenerateCall() {
<< "&version=" << Application::ServerVersion()
<< "&clientversion=" << Application::ClientVersion()
<< "&name=" << Application::Settings.ServerName
<< "&pps=" << Application::PPS()
<< "&modlist=" << mResourceManager.TrimmedList()
<< "&modstotalsize=" << mResourceManager.MaxModSize()
<< "&modstotal=" << mResourceManager.ModsLoaded()