spambot snote

This commit is contained in:
Eric Mertens 2025-01-28 22:54:55 -08:00
parent b0f254eb13
commit f5b49ebf66
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -33,6 +33,7 @@ enum class SnoteTag
NickCollision,
OperspyWhois,
Freeze,
Spambot,
};
class SnoteMatch