diff options
author | Shauren <shauren.trinity@gmail.com> | 2022-12-04 00:16:17 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-12-04 00:16:17 +0100 |
commit | 943e37f208681f92d38ddff0bc4b2b731676cb50 (patch) | |
tree | b52289425813be5ab52133198cadbc9854bc1c70 /src | |
parent | f22be111ae0a1b2dd51418b0790fab1c8f2f9df7 (diff) |
Core/Realms: Fixed switching realms
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Services/WorldserverService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Services/WorldserverService.cpp b/src/server/game/Services/WorldserverService.cpp index 5c116b597bd..bab88d60b1c 100644 --- a/src/server/game/Services/WorldserverService.cpp +++ b/src/server/game/Services/WorldserverService.cpp @@ -133,7 +133,7 @@ uint32 Battlenet::GameUtilitiesService::HandleRealmJoinRequest(std::unordered_ma uint32 Battlenet::GameUtilitiesService::HandleGetAllValuesForAttribute(game_utilities::v1::GetAllValuesForAttributeRequest const* request, game_utilities::v1::GetAllValuesForAttributeResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { - if (request->attribute_key() == "Command_RealmListRequest_v1") + if (request->attribute_key().find("Command_RealmListRequest_v1") == 0) { sRealmList->WriteSubRegions(response); return ERROR_OK; |