[Code] WebInterfaceList Global to Singleton Cleanup (#4935)

This commit is contained in:
Alex King authored and GitHub committed 2025-06-25 14:49:32 -05:00
1 parent 967a13e692
commit c99bda3f47
4 files changed
+9 -8

No files matched your search

+1 -2
View File
@@ -42,7 +42,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "../common/repositories/buyer_repository.h"
extern uint32 numzones;
extern WebInterfaceList web_interface;
extern ClientList client_list;
volatile bool UCSServerAvailable_ = false;
void CatchSignal(int sig_num);
@@ -889,7 +888,7 @@ void ZSList::OnTick(EQ::Timer *t)
out["data"].append(outzone);
}
web_interface.SendEvent(out);
WebInterfaceList::Instance()->SendEvent(out);
}
const std::list<std::unique_ptr<ZoneServer>> &ZSList::getZoneServerList() const