From f59049187e2c8e80dc5713b5ed0bf6222fe8e606 Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Wed, 29 Nov 2023 14:52:57 -0800 Subject: [PATCH] extra snote --- snote_thread.cpp | 3 +++ snote_thread.hpp | 1 + 2 files changed, 4 insertions(+) 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