Index: src/iroffer_main.c =================================================================== RCS file: /src/master/CVS/iroffer/src/iroffer_main.c,v retrieving revision 1.55 diff -u -r1.55 iroffer_main.c --- src/iroffer_main.c 19 Feb 2006 11:12:30 -0000 1.55 +++ src/iroffer_main.c 19 Feb 2006 15:05:44 -0000 @@ -2372,11 +2372,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)); @@ -2531,7 +2535,7 @@ /*----- PING ----- */ else if ( !gdata.ignore && (!strcmp(msg1,"\1PING") - || !strcmp(msg1,"\1PING\1") )) { + || !strcmp(msg1,"\1PING\1") ) && notnotice ) { gdata.inamnt[gdata.curtime%INAMNT_SIZE]++; if (msg2 && (msg2[strlen(msg2)-1] == '\1')) {