From 1e9c4e357c497dd5e6bab506606f0107ecbf09ea Mon Sep 17 00:00:00 2001 From: Lion Date: Thu, 20 Jun 2024 08:58:58 +0200 Subject: [PATCH] adjust allow guests feature in heartbeat to follow Backend#33 https://github.com/BeamMP/Backend/issues/33 --- src/THeartbeatThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/THeartbeatThread.cpp b/src/THeartbeatThread.cpp index e6a3caa..87065a8 100644 --- a/src/THeartbeatThread.cpp +++ b/src/THeartbeatThread.cpp @@ -153,7 +153,7 @@ std::string THeartbeatThread::GenerateCall() { << "&clientversion=" << std::to_string(Application::ClientMajorVersion()) + ".0" // FIXME: Wtf. << "&name=" << Application::Settings.ServerName << "&tags=" << Application::Settings.ServerTags - << "&allowguests=" << (Application::Settings.AllowGuests ? "true" : "false") + << "&guests=" << (Application::Settings.AllowGuests ? "true" : "false") << "&modlist=" << mResourceManager.TrimmedList() << "&modstotalsize=" << mResourceManager.MaxModSize() << "&modstotal=" << mResourceManager.ModsLoaded()