Core/Bnet: Fixed changing realms from character list

Closes #27063
This commit is contained in:
Shauren
2021-10-15 22:16:40 +02:00
parent c59937a835
commit 518c86f9ac
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ namespace Battlenet
class WorldserverService : public T
{
public:
WorldserverService(WorldSession* session) : T(false), _session(session) { }
WorldserverService(WorldSession* session) : T(true), _session(session) { }
protected:
void SendRequest(uint32 serviceHash, uint32 methodId, google::protobuf::Message const* request, std::function<void(MessageBuffer)> callback) override { _session->SendBattlenetRequest(serviceHash, methodId, request, std::move(callback)); }

View File

@@ -54,7 +54,7 @@ namespace Battlenet
template<class Service>
void AddService()
{
_dispatchers[Service::NameHash::value] = &WorldserverServiceDispatcher::Dispatch<Service>;
_dispatchers[Service::OriginalHash::value] = &WorldserverServiceDispatcher::Dispatch<Service>;
}
template<class Service>