mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 07:30:48 +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 parent
c4da9766a4
commit
a3a707adae
7 files changed
+133
-51
No files matched your search
+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