extra snote

This commit is contained in:
Eric Mertens 2023-11-29 14:52:57 -08:00
parent 7999a0672b
commit f59049187e
2 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,9 @@ SnotePattern const patterns[] =
{SnoteTag::TooManyGlobalConnections, {SnoteTag::TooManyGlobalConnections,
R"(^Too many global connections for ([^ ]+)\[([^ ]+)@([^ ]+)\] \[(.*)\]$)"}, R"(^Too many global connections for ([^ ]+)\[([^ ]+)@([^ ]+)\] \[(.*)\]$)"},
{SnoteTag::SetVhostOnMarkedAccount,
"^\x02([^ ]+)\x02 set vhost ([^ ]+) on the \x02MARKED\x02 account ([^ ]+).$"},
}; };
auto setup_database() -> hs_database_t* auto setup_database() -> hs_database_t*

View File

@ -27,6 +27,7 @@ enum class SnoteTag
PossibleFlooder, PossibleFlooder,
Killed, Killed,
TooManyGlobalConnections, TooManyGlobalConnections,
SetVhostOnMarkedAccount,
}; };
class SnoteEvent : public Event class SnoteEvent : public Event