Remove duplicate chat spammer notification (#2)

This commit is contained in:
Cringe-Arab 2024-09-27 22:47:56 +03:00 committed by GitHub
parent 4b09de1c27
commit 627f6d04a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;