mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
add /IGNORE ... NOHILIGHT to ignore some hilights
This commit is contained in:
parent
628ca79e6a
commit
46493c051b
6 changed files with 39 additions and 16 deletions
|
|
@ -61,6 +61,9 @@ int level_get(const char *level)
|
|||
if (g_ascii_strcasecmp(level, "NO_ACT") == 0)
|
||||
return MSGLEVEL_NO_ACT;
|
||||
|
||||
if (g_ascii_strcasecmp(level, "NOHILIGHT") == 0)
|
||||
return MSGLEVEL_NOHILIGHT;
|
||||
|
||||
if (g_ascii_strcasecmp(level, "HIDDEN") == 0)
|
||||
return MSGLEVEL_HIDDEN;
|
||||
|
||||
|
|
@ -154,6 +157,9 @@ char *bits2level(int bits)
|
|||
}
|
||||
}
|
||||
|
||||
if (bits & MSGLEVEL_NOHILIGHT)
|
||||
g_string_append(str, "NOHILIGHT ");
|
||||
|
||||
if (bits & MSGLEVEL_HIDDEN)
|
||||
g_string_append(str, "HIDDEN ");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue