text 不能添加自己

This commit is contained in:
aozhiwei 2020-12-24 11:26:14 +08:00
parent 26e98151d4
commit aa163e5c10

View File

@ -389,7 +389,7 @@ void Player::_CMFriendAgree(f8::MsgHdr& hdr, const cs::CMFriendAgree& msg)
} }
if (msg.apply().base_data().account_id() == AccountId()) { if (msg.apply().base_data().account_id() == AccountId()) {
respmsg.set_errcode(2); respmsg.set_errcode(2);
respmsg.set_errmsg("不能添加自己"); respmsg.set_errmsg(TEXT("cant_add_self", "不能添加自己"));
SendMsg(respmsg); SendMsg(respmsg);
return; return;
} }