Configuration/ConfigMgr: converted from singleton to namespace with free functions.
This commit is contained in:
@@ -3750,7 +3750,7 @@ bool ChatHandler::HandleServerPLimitCommand(const char *args)
|
||||
sWorld->SetPlayerSecurityLimit(SEC_ADMINISTRATOR);
|
||||
else if (strncmp(param, "reset", l) == 0)
|
||||
{
|
||||
sWorld->SetPlayerAmountLimit(sConfig->GetIntDefault("PlayerLimit", 100));
|
||||
sWorld->SetPlayerAmountLimit(ConfigMgr::GetIntDefault("PlayerLimit", 100));
|
||||
sWorld->LoadDBAllowedSecurityLevel();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user