Add global option to suppress nick change events

Might as well add a per-channel option, too but for me that seems a bit unnecessary.
Closes #971
This commit is contained in:
Berke Viktor
2014-05-06 19:22:09 +02:00
committed by TingPing
parent 7435572282
commit 0dccf692d4
4 changed files with 9 additions and 0 deletions

View File

@@ -2173,6 +2173,12 @@ text_emit (int index, session *sess, char *a, char *b, char *c, char *d,
if (sess->alert_tray == SET_ON)
fe_tray_set_icon (FE_ICON_MESSAGE);
break;
/* ===Nick change message=== */
case XP_TE_CHANGENICK:
if (prefs.hex_irc_hide_nickchange)
return;
break;
}
sound_play_event (index);