1
This commit is contained in:
parent
d8eabad407
commit
ebda67e3cc
@ -43,7 +43,7 @@ void GSMgr::_SS_WSP_RequestTargetServer(f8::MsgHdr& hdr, const ss::SS_WSP_Reques
|
||||
}
|
||||
} else {
|
||||
GSNode* node = GetNodeByTeamId(msg.team_id());
|
||||
if (node) {
|
||||
if (node && node->channel == channel) {
|
||||
respmsg.set_host(node->ip);
|
||||
respmsg.set_port(node->port);
|
||||
} else {
|
||||
@ -56,7 +56,7 @@ void GSMgr::_SS_WSP_RequestTargetServer(f8::MsgHdr& hdr, const ss::SS_WSP_Reques
|
||||
respmsg.set_error_code(1);
|
||||
respmsg.set_error_msg("无法分配节点");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
GGListener::Instance()->SendMsg(hdr.socket_handle, respmsg);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user