This commit is contained in:
aozhiwei 2020-12-09 13:12:51 +08:00
parent 0906499a4a
commit b751393c03

View File

@ -143,7 +143,7 @@ void ChatMgr::SyncWorldChatMsg(Player* hum)
hum->world_channel_last_id = chat_msg->msg_uuid();
}
}
if (!notifymsg.msg_list().size() > 0) {
if (notifymsg.msg_list().size() > 0) {
hum->SendMsg(notifymsg);
}
} else {
@ -166,7 +166,7 @@ void ChatMgr::SyncPrivateChatMsg(Player* hum)
}
}
}
if (!notifymsg.msg_list().size() > 0) {
if (notifymsg.msg_list().size() > 0) {
hum->SendMsg(notifymsg);
}
}
@ -190,7 +190,7 @@ void ChatMgr::SyncGuildChatMsg(Player* hum)
hum->guild_channel_last_id = chat_msg->msg_uuid();
}
}
if (!notifymsg.msg_list().size() > 0) {
if (notifymsg.msg_list().size() > 0) {
hum->SendMsg(notifymsg);
}
} else {