mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-29 22:52:17 +00:00
eqemu_config is now persistent after first load.
This commit is contained in:
1 parent
4ed6e20b35
commit
e61e7fd008
2 files changed
+3
-2
No files matched your search
@@ -45,9 +45,10 @@ void EQEmuConfig::parse_config() {
|
||||
LoginPassword = _root["server"]["world"]["loginserver"].get("password", "").asString();
|
||||
} else {
|
||||
char str[32];
|
||||
loginlist.Clear();
|
||||
do {
|
||||
sprintf(str, "loginserver%i", ++LoginCount);
|
||||
if (_root["server"]["world"][str].get("host", "").asString() == "") {
|
||||
if (!_root["server"]["world"][str].isObject()) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user