[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:
Alex King
2025-06-25 15:43:01 -04:00
committed by GitHub
parent 004e2ca63f
commit f304f9cc61
5 changed files with 12 additions and 9 deletions
+2 -3
View File
@@ -57,7 +57,6 @@ extern GroupLFPList LFPGroupList;
extern ZSList zoneserver_list;
extern volatile bool RunLoops;
extern volatile bool UCSServerAvailable_;
extern QueryServConnection QSLink;
void CatchSignal(int sig_num);
@@ -372,7 +371,7 @@ void ZoneServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p) {
player_event_logs.AddToQueue(n.player_event_log);
}
else {
QSLink.SendPacket(pack);
QueryServConnection::Instance()->SendPacket(pack);
}
// if discord enabled for event, ship to UCS to process
@@ -1359,7 +1358,7 @@ void ZoneServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p) {
break;
}
case ServerOP_QueryServGeneric: {
QSLink.SendPacket(pack);
QueryServConnection::Instance()->SendPacket(pack);
break;
}
case ServerOP_CZDialogueWindow: