diff options
author | Berke Viktor <github.bviktor@outlook.com> | 2014-05-06 19:22:09 +0200 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-05-12 05:01:24 -0400 |
commit | 0dccf692d41f62611b0b8c753ef4e84be670c736 (patch) | |
tree | 3b0fdeac55cfbc667bc0c95a946a1fb2c8571d3c /src/common/text.c | |
parent | 7435572282b4ef6ea2487442ef4d34984d28d9c2 (diff) |
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
Diffstat (limited to 'src/common/text.c')
-rw-r--r-- | src/common/text.c | 6 |
1 files changed, 6 insertions, 0 deletions
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); |