text 不能邀请自己
This commit is contained in:
parent
e94e898672
commit
f12ec0c353
@ -248,7 +248,7 @@ void Player::_CMFriendApply(f8::MsgHdr& hdr, const cs::CMFriendApply& msg)
|
|||||||
}
|
}
|
||||||
if (msg.friend_id() == AccountId()) {
|
if (msg.friend_id() == AccountId()) {
|
||||||
respmsg.set_errcode(2);
|
respmsg.set_errcode(2);
|
||||||
respmsg.set_errmsg("不能邀请自己");
|
respmsg.set_errmsg(TEXT("cant_invite_self", "不能邀请自己"));
|
||||||
SendMsg(respmsg);
|
SendMsg(respmsg);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user