diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-09 21:22:56 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-09 21:22:56 +0000 |
commit | 76ca80087b40f34ff30f67be57c63f5a1ce15a64 (patch) | |
tree | 53bbeabdf37b8a3e39d4d05fb557b31aacf5444c | |
parent | 4b7bcde5775eac0b2edbc4fa45a076585103af6b (diff) | |
download | irssi-76ca80087b40f34ff30f67be57c63f5a1ce15a64.zip |
Hide IRSSILAG notices from clients
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@821 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/irc/proxy/listen.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index a8c04e4d..0aeb553c 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -350,8 +350,11 @@ static void sig_server_event(const char *line, IRC_SERVER_REC *server, if (g_strcasecmp(event, "event ping") == 0 || (g_strcasecmp(event, "event privmsg") == 0 && - strstr(args, " :\001") != NULL)) { - /* We want to answer ourself to PINGs and CTCPs */ + strstr(args, " :\001") != NULL) || + (g_strcasecmp(event, "event notice") == 0 && + strstr(args, " :\001IRSSILAG") != NULL)) { + /* We want to answer ourself to PINGs and CTCPs, + also don't let clients see replies to IRSSILAG requests */ g_free(event); return; } |