extra snote pattern
This commit is contained in:
parent
7e4346a50e
commit
7999a0672b
|
@ -38,20 +38,19 @@ auto RegistrationThread::send_req() -> void
|
|||
{
|
||||
std::string request;
|
||||
char const* const want[] = {
|
||||
"extended-join",
|
||||
"account-notify",
|
||||
"draft/chathistory",
|
||||
"batch",
|
||||
"soju.im/no-implicit-names",
|
||||
"chghost",
|
||||
"setname",
|
||||
"account-tag",
|
||||
"solanum.chat/oper",
|
||||
"solanum.chat/identify-msg",
|
||||
"solanum.chat/realhost",
|
||||
"server-time",
|
||||
"batch",
|
||||
"chghost",
|
||||
"draft/chathistory",
|
||||
"extended-join",
|
||||
"invite-notify",
|
||||
"extended-join"
|
||||
"server-time",
|
||||
"setname",
|
||||
"soju.im/no-implicit-names",
|
||||
"solanum.chat/identify-msg",
|
||||
"solanum.chat/oper",
|
||||
"solanum.chat/realhost",
|
||||
};
|
||||
|
||||
for (auto cap : want)
|
||||
|
|
|
@ -71,6 +71,9 @@ SnotePattern const patterns[] =
|
|||
|
||||
{SnoteTag::Killed,
|
||||
R"(^Received KILL message for ([^ ]+)!([^ ]+)@([^ ]+)\. From ([^ ]+) Path: ([^ ]+) \((.*)\)$)"},
|
||||
|
||||
{SnoteTag::TooManyGlobalConnections,
|
||||
R"(^Too many global connections for ([^ ]+)\[([^ ]+)@([^ ]+)\] \[(.*)\]$)"},
|
||||
};
|
||||
|
||||
auto setup_database() -> hs_database_t*
|
||||
|
|
|
@ -26,6 +26,7 @@ enum class SnoteTag
|
|||
LoginAttempts,
|
||||
PossibleFlooder,
|
||||
Killed,
|
||||
TooManyGlobalConnections,
|
||||
};
|
||||
|
||||
class SnoteEvent : public Event
|
||||
|
|
Loading…
Reference in New Issue
Block a user