[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

+1 -7
View File
@@ -164,13 +164,7 @@ int main() {
database.ExpireMail();
if(Config->ChatPort != Config->MailPort)
{
LogInfo("MailPort and CharPort must be the same in eqemu_config.json for UCS");
exit(1);
}
g_Clientlist = new Clientlist(Config->ChatPort);
g_Clientlist = new Clientlist(Config->GetUCSPort());
ChannelList = new ChatChannelList();