diff -u -r iroffer1.4.b03.orig iroffer1.4.b03 --- src/iroffer_main.c Tue Dec 13 03:57:56 2005 +++ src/iroffer_main.c.new Sun Feb 19 16:17:41 2006 @@ -2273,11 +2273,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)); @@ -2432,7 +2436,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')) {