mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
[Code] QueryServConnection Global to Singleton Cleanup (#4938)
* [Code] QueryServConnection Global to Singleton Cleanup * Fix missed file in PR --------- Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
+2
-3
@@ -94,7 +94,6 @@
|
||||
ClientList client_list;
|
||||
GroupLFPList LFPGroupList;
|
||||
ZSList zoneserver_list;
|
||||
QueryServConnection QSLink;
|
||||
LauncherList launcher_list;
|
||||
WorldEventScheduler event_scheduler;
|
||||
volatile bool RunLoops = true;
|
||||
@@ -269,7 +268,7 @@ int main(int argc, char **argv)
|
||||
connection->Handle()->RemotePort(),
|
||||
connection->GetUUID());
|
||||
|
||||
QSLink.AddConnection(connection);
|
||||
QueryServConnection::Instance()->AddConnection(connection);
|
||||
}
|
||||
);
|
||||
|
||||
@@ -280,7 +279,7 @@ int main(int argc, char **argv)
|
||||
connection->GetUUID()
|
||||
);
|
||||
|
||||
QSLink.RemoveConnection(connection);
|
||||
QueryServConnection::Instance()->RemoveConnection(connection);
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user