mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-16 22:37:22 +08:00
duplicate spammer notification
This commit is contained in:
parent
fd9524a684
commit
8256674e81
@ -710,9 +710,6 @@ namespace big
|
||||
{
|
||||
if (g.session.log_chat_messages)
|
||||
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;
|
||||
g.reactions.chat_spam.process(player);
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user