mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-16 22:37:22 +08:00
Remove duplicate chat spammer notification (#2)
This commit is contained in:
parent
4b09de1c27
commit
627f6d04a7
@ -711,9 +711,6 @@ namespace big
|
|||||||
{
|
{
|
||||||
if (g.session.log_chat_messages)
|
if (g.session.log_chat_messages)
|
||||||
chat::log_chat(message, player, spam_reason, is_team);
|
chat::log_chat(message, player, spam_reason, is_team);
|
||||||
g_notification_service.push("PROTECTIONS"_T.data(),
|
|
||||||
|
|
||||||
std::format("{} {}", player->get_name(), "IS_A_SPAMMER"_T.data()));
|
|
||||||
player->is_spammer = true;
|
player->is_spammer = true;
|
||||||
g.reactions.chat_spam.process(player);
|
g.reactions.chat_spam.process(player);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user