text 不能踢自己

This commit is contained in:
aozhiwei 2020-12-24 11:13:37 +08:00
parent a64f054c72
commit 951cf1e2e6

View File

@ -530,9 +530,9 @@ void Guild::_CMGuildKick(f8::MsgHdr& hdr, const cs::CMGuildKick& msg)
return;
}
if (sender == member) {
SendErrorMsg(hdr.socket_handle, forward_msg->context(), "不能踢自己");
SendErrorMsg(hdr.socket_handle, forward_msg->context(), TEXT("cant_kickout_self", "不能踢自己"));
respmsg.set_errcode(3);
respmsg.set_errmsg("不能踢自己");
respmsg.set_errmsg(TEXT("cant_kickout_self", "不能踢自己"));
GuildMgr::Instance()->ForwardGuildSMMsg(hdr.socket_handle,
forward_msg->context(),
respmsg);