diff --git a/snote_thread.cpp b/snote_thread.cpp index 033f518..b85afe9 100644 --- a/snote_thread.cpp +++ b/snote_thread.cpp @@ -74,6 +74,9 @@ SnotePattern const patterns[] = {SnoteTag::TooManyGlobalConnections, R"(^Too many global connections for ([^ ]+)\[([^ ]+)@([^ ]+)\] \[(.*)\]$)"}, + + {SnoteTag::SetVhostOnMarkedAccount, + "^\x02([^ ]+)\x02 set vhost ([^ ]+) on the \x02MARKED\x02 account ([^ ]+).$"}, }; auto setup_database() -> hs_database_t* diff --git a/snote_thread.hpp b/snote_thread.hpp index 0841bba..bc4ac59 100644 --- a/snote_thread.hpp +++ b/snote_thread.hpp @@ -27,6 +27,7 @@ enum class SnoteTag PossibleFlooder, Killed, TooManyGlobalConnections, + SetVhostOnMarkedAccount, }; class SnoteEvent : public Event