mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 15:58:36 +00:00
[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:
@@ -634,8 +634,7 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
||||
|
||||
// ucs (public)
|
||||
if (
|
||||
(!config_address.empty() && c->MailHost != config_address) ||
|
||||
(!config_address.empty() && c->ChatHost != config_address)
|
||||
(!config_address.empty() && c->GetUCSHost() != config_address)
|
||||
) {
|
||||
LogWarning("# UCS Address Mailhost (Configuration)");
|
||||
LogWarning("");
|
||||
@@ -647,14 +646,9 @@ void WorldBoot::CheckForPossibleConfigurationIssues()
|
||||
LogWarning("Docs [https://docs.eqemu.io/server/installation/configure-your-eqemu_config/#mailserver]");
|
||||
LogWarning("");
|
||||
LogWarning(
|
||||
"[server.world.address] value [{}] [server.chatserver.host] [{}]",
|
||||
"[server.world.address] value [{}] [server.ucs.host] [{}]",
|
||||
config_address,
|
||||
c->ChatHost
|
||||
);
|
||||
LogWarning(
|
||||
"[server.world.address] value [{}] [server.mailserver.host] [{}]",
|
||||
config_address,
|
||||
c->MailHost
|
||||
c->GetUCSHost()
|
||||
);
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user