Core/Battle.net: Implemented updating realm list after initial login
This commit is contained in:
1 parent
35b14f15e1
commit
56cf7ff2a8
15 files changed
+281
-185
No files matched your search
@@ -99,14 +99,7 @@ int main(int argc, char** argv)
|
||||
return 1;
|
||||
|
||||
// Get the list of realms for the server
|
||||
sRealmList->Initialize(_ioService, sConfigMgr->GetIntDefault("RealmsStateUpdateDelay", 20));
|
||||
|
||||
if (sRealmList->size() == 0)
|
||||
{
|
||||
TC_LOG_ERROR("server.bnetserver", "No valid realms specified.");
|
||||
StopDB();
|
||||
return 1;
|
||||
}
|
||||
sRealmList->Initialize(_ioService, sConfigMgr->GetIntDefault("RealmsStateUpdateDelay", 10));
|
||||
|
||||
// Start the listening port (acceptor) for auth connections
|
||||
int32 bnport = sConfigMgr->GetIntDefault("BattlenetPort", 1119);
|
||||
|
||||
Reference in new issue
Block a user