From f5b49ebf660bec335f2ba54c2a05ebc7ab4c7b92 Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Tue, 28 Jan 2025 22:54:55 -0800 Subject: [PATCH] spambot snote --- snote.cpp | 3 +++ snote.hpp | 1 + 2 files changed, 4 insertions(+) diff --git a/snote.cpp b/snote.cpp index 5b78b6b..14cd58a 100644 --- a/snote.cpp +++ b/snote.cpp @@ -86,6 +86,9 @@ const SnotePattern static patterns[] = { {SnoteTag::Freeze, R"(^([^ ]+) froze the account ([^ ]+) \((.*)\)\.$)"}, + + {SnoteTag::Spambot, + R"(User ([^ ]+) \(([^ ]+)@([^ ]+)\) trying to join ([^ ]+) is a possible spambot)"}, }; static auto setup_database() -> hs_database_t * diff --git a/snote.hpp b/snote.hpp index 7f68e92..c12abab 100644 --- a/snote.hpp +++ b/snote.hpp @@ -33,6 +33,7 @@ enum class SnoteTag NickCollision, OperspyWhois, Freeze, + Spambot, }; class SnoteMatch