add /IGNORE ... NOHILIGHT to ignore some hilights

This commit is contained in:
Ailin Nemui 2021-01-16 00:31:56 +01:00
commit 46493c051b
6 changed files with 39 additions and 16 deletions

View file

@ -202,6 +202,11 @@ static void sig_message_public(SERVER_REC *server, const char *msg,
level |= MSGLEVEL_HILIGHT;
ignore_check_plus(server, nick, address, target, msg, &level, FALSE);
if (level & MSGLEVEL_NOHILIGHT) {
for_me = FALSE;
g_free_and_null(color);
level &= ~MSGLEVEL_HILIGHT;
}
if (settings_get_bool("emphasis"))
msg = freemsg = expand_emphasis((WI_ITEM_REC *) chanrec, msg);