[UCS] Consolidate configuration block (#3768)

* [UCS] Consolidate configuration block

* Update eqemu_config.cpp

* Single indent config

* reload config internally

* Make sure port is a string to be consistent with previous fields

* Move conversion logic to function CheckUcsConfigConversion
This commit is contained in:
Chris Miles authored and GitHub committed 2024-01-06 21:55:51 -06:00
1 parent c4da9766a4
commit a3a707adae
7 files changed
+133 -51

No files matched your search

+4 -4
View File
@@ -11817,8 +11817,8 @@ void Client::Handle_OP_QueryUCSServerStatus(const EQApplicationPacket *app)
}
buffer = StringFormat("%s,%i,%s.%s,%c%s",
Config->ChatHost.c_str(),
Config->ChatPort,
Config->GetUCSHost().c_str(),
Config->GetUCSPort(),
Config->ShortName.c_str(),
GetName(),
ConnectionType,
@@ -11843,8 +11843,8 @@ void Client::Handle_OP_QueryUCSServerStatus(const EQApplicationPacket *app)
}
buffer = StringFormat("%s,%i,%s.%s,%c%s",
Config->MailHost.c_str(),
Config->MailPort,
Config->GetUCSHost().c_str(),
Config->GetUCSPort(),
Config->ShortName.c_str(),
GetName(),
ConnectionType,