mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Hide IRSSILAG notices from clients
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@821 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4b7bcde577
commit
76ca80087b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user