Index: src/iroffer_main.c =================================================================== RCS file: /cvsroot/iroffer-lamm/iroffer1.4-lamm/src/iroffer_main.c,v retrieving revision 1.9 diff -u -r1.9 iroffer_main.c --- src/iroffer_main.c 29 Jan 2006 14:11:29 -0000 1.9 +++ src/iroffer_main.c 19 Feb 2006 15:12:08 -0000 @@ -2423,11 +2423,15 @@ pqueue *pq; xdcc *xd; int line_len; + int notnotice = 0; updatecontext(); floodchk(); + if ( strcmp(type,"NOTICE") ) + notnotice ++; + line_len = sstrlen(line); hostmask = caps(getpart(line,1)); @@ -2582,7 +2586,7 @@ /*----- PING ----- */ else if ( !gdata.ignore && (!strcmp(msg1,"\1PING") - || !strcmp(msg1,"\1PING\1") )) { + || !strcmp(msg1,"\1PING\1") ) && notnotice ) { gdata.inamnt[gdata.curtime%INAMNT_SIZE]++; /* msg2 = getpart(line,5); */ notice(nick, "\1PING %s%s%s\1",