mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +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:
+1
-7
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user