add new PUBNOTICES level

separating private notices and channel notices
This commit is contained in:
Ailin Nemui 2022-04-19 10:52:27 +02:00
commit 7360944900
12 changed files with 83 additions and 52 deletions

View file

@ -23,10 +23,12 @@
/* the order of these levels must match the bits in levels.h */
static const char *levels[] = {
/* clang-format off */
"CRAP",
"MSGS",
"PUBLICS",
"NOTICES",
"PUBNOTICES",
"SNOTES",
"CTCPS",
"ACTIONS",
@ -46,6 +48,7 @@ static const char *levels[] = {
"CLIENTERRORS",
"HILIGHTS",
NULL
/* clang-format on */
};
int level_get(const char *level)