mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-28 22:15:49 -04:00
hopefully fix a mistake
This commit is contained in:
@@ -1175,9 +1175,10 @@ void LoginServer::run(void)
|
||||
|
||||
// load authentication data and bind the monitor to the port
|
||||
const int port = ConfigLoginServer::getMetricsListenerPort();
|
||||
CMonitorAPI *mon = nullptr;
|
||||
|
||||
if (port) {
|
||||
CMonitorAPI *mon = new CMonitorAPI("metricsAuthentication.cfg", ConfigLoginServer::getMetricsListenerPort());
|
||||
mon = new CMonitorAPI("metricsAuthentication.cfg", ConfigLoginServer::getMetricsListenerPort());
|
||||
getInstance().m_soeMonitor = mon;
|
||||
const char *masterChannel = "Population";
|
||||
mon->add(masterChannel, WORLD_COUNT_CHANNEL);
|
||||
|
||||
Reference in New Issue
Block a user