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