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

@ -114,6 +114,12 @@ static void sig_message_irc_op_public(SERVER_REC *server, const char *msg,
return;
}
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);