mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-03 03:50:40 +00:00
[Hotfix] Fix ClientList Singleton Shortcomings of #4942
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include "zonelist.h"
|
||||
#include "launcher_list.h"
|
||||
|
||||
extern ClientList client_list;
|
||||
extern LauncherList launcher_list;
|
||||
|
||||
void EQW__GetConfig(WebInterface *i, const std::string& method, const std::string& id, const Json::Value& params) {
|
||||
@@ -52,7 +51,7 @@ void EQW__Unlock(WebInterface *i, const std::string& method, const std::string&
|
||||
}
|
||||
|
||||
void EQW__GetPlayerCount(WebInterface *i, const std::string& method, const std::string& id, const Json::Value& params) {
|
||||
Json::Value ret = client_list.GetClientCount();
|
||||
Json::Value ret = ClientList::Instance()->GetClientCount();
|
||||
i->SendResponse(id, ret);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user