Essential OpenSpades modification

Clinically proven to reduce chat spam by 99%*

diff --git a/Sources/Client/NetClient.cpp b/Sources/Client/NetClient.cpp
index 46184707..5872e3bd 100644
--- a/Sources/Client/NetClient.cpp
+++ b/Sources/Client/NetClient.cpp
@@ -1430,13 +1430,17 @@ namespace spades {
                                case PacketTypeChatMessage: {
                                        // might be wrong player id for server message
                                        uint8_t pId = reader.ReadByte();
                                        stmp::optional<Player &> p = GetPlayerOrNull(pId);
                                        int type = reader.ReadByte();
                                        std::string txt = reader.ReadRemainingString();
+
                                        if (p) {
+                                               if (p->GetName() == "ATORRES_BR!")
+                                                       type = -1;
+
                                                switch (type) {
                                                        case 0: // all
                                                                client->PlayerSentChatMessage(*p, true, txt);
                                                                break;
                                                        case 1: // team
                                                                client->PlayerSentChatMessage(*p, false, txt);

Soupy :ramen:┌( ͝° ͜ʖ͡°)=ε/̵͇̿̿/’̿’̿ ̿ ( hey gloval guard, i see u ) :gun:ԅ(≖‿≖ԅ)

Will Smith Reaction GIF

Interested GIF by reactionseditor

( ͡° ͜ʖ ͡°)/¯ hm mm mmmmmm interesting ¯_(ツ)

This is why I disable gif playing in my browser. (pref("image.animation_mode", "none");)

u are boomer !not a boomer
jeff dunham peanut GIF

I posted this somewhere else (secret), it removes atorres from the latest page on this forum with ublock origin: ##.topic-list-item:has(img[title="atorresbr - Original Poster, Most Recent Poster"])
Doesn’t let you scroll too far though.

I made a new one that undoes atorres’ posts in other topics: ##.topic-post:has(.main-avatar[data-user-card="atorresbr"])

BRU, resentment is bad for the heart. Just lobes, because lobes is lobes !

boy george dancing GIF by The New Celebrity Apprentice

It would seem strange to forgive someone for something they’re doing right at the moment.