1
This commit is contained in:
parent
aa6d5c94d7
commit
e46d0d2629
@ -50,7 +50,7 @@ void PlayerMgr::_SS_IM_SendChatMsg(f8::MsgHdr& hdr, const ss::SS_IM_SendChatMsg&
|
|||||||
void PlayerMgr::_SS_IM_SendCustomMsg(f8::MsgHdr& hdr, const ss::SS_IM_SendCustomMsg& msg)
|
void PlayerMgr::_SS_IM_SendCustomMsg(f8::MsgHdr& hdr, const ss::SS_IM_SendCustomMsg& msg)
|
||||||
{
|
{
|
||||||
Player* hum = GetPlayerByAccountId(msg.target());
|
Player* hum = GetPlayerByAccountId(msg.target());
|
||||||
if (hum && !hum->GetBlackListById(msg.target())) {
|
if (hum && !hum->GetBlackListById(msg.context().user_info().base_data().account_id())) {
|
||||||
cs::SMCustomMsgNotify notifymsg;
|
cs::SMCustomMsgNotify notifymsg;
|
||||||
notifymsg.set_sender(msg.context().user_info().base_data().account_id());
|
notifymsg.set_sender(msg.context().user_info().base_data().account_id());
|
||||||
notifymsg.set_msg(msg.msg());
|
notifymsg.set_msg(msg.msg());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user