From 0dccf692d41f62611b0b8c753ef4e84be670c736 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Tue, 6 May 2014 19:22:09 +0200 Subject: 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 --- src/common/text.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/common/text.c') diff --git a/src/common/text.c b/src/common/text.c index 0e66c2d2..ec407833 100644 --- a/src/common/text.c +++ b/src/common/text.c @@ -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); -- cgit 1.4.1