mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-15 22:08:00 +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)
|
||||
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