fix #247, add allow guests config setting.

This commit is contained in:
SaltySnail
2024-06-10 22:06:09 +02:00
parent 2fcb53530a
commit 5dab48af92
4 changed files with 14 additions and 0 deletions

View File

@@ -148,6 +148,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")
<< "&modlist=" << mResourceManager.TrimmedList()
<< "&modstotalsize=" << mResourceManager.MaxModSize()
<< "&modstotal=" << mResourceManager.ModsLoaded()