diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index a595f112..2d34ec0b 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -356,7 +356,8 @@ 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) || + strstr(args, " :\001") != NULL && + strstr(args, " :\001ACTION") == NULL) || (g_strcasecmp(event, "event notice") == 0 && strstr(args, " :\001IRSSILAG") != NULL)) { /* We want to answer ourself to PINGs and CTCPs,