*** ../irc2.10.04/ircd/s_bsd.c Mon Sep 21 18:44:58 1998 --- ../irc2.10.04+/ircd/s_bsd.c Mon Sep 21 18:49:17 1998 *************** *** 1546,1564 **** if (dbuf_put(&cptr->recvQ, readbuf, length) < 0) return exit_client(cptr, cptr, &me, "dbuf_put fail"); if (IsPerson(cptr) && DBufLength(&cptr->recvQ) > CLIENT_FLOOD #ifdef CS_NO_FLOOD_ESNET && !IsChannelService(cptr) #endif ) return exit_client(cptr, cptr, &me, "Excess Flood"); ! while (DBufLength(&cptr->recvQ) && !NoNewLine(cptr) && ! ((cptr->status < STAT_UNKNOWN) || (cptr->since - now < 10) #ifdef CS_NO_FLOOD_ESNET || (IsChannelService(cptr)) #endif ! )) { /* * If it has become registered as a Server --- 1546,1569 ---- if (dbuf_put(&cptr->recvQ, readbuf, length) < 0) return exit_client(cptr, cptr, &me, "dbuf_put fail"); + #ifndef NOFLOODCONTROL if (IsPerson(cptr) && DBufLength(&cptr->recvQ) > CLIENT_FLOOD #ifdef CS_NO_FLOOD_ESNET && !IsChannelService(cptr) #endif ) return exit_client(cptr, cptr, &me, "Excess Flood"); + #endif ! while (DBufLength(&cptr->recvQ) && !NoNewLine(cptr) ! #ifndef NOFLOODCONTROL ! && ((cptr->status < STAT_UNKNOWN) || (cptr->since - now < 10) #ifdef CS_NO_FLOOD_ESNET || (IsChannelService(cptr)) #endif ! ) ! #endif ! ) { /* * If it has become registered as a Server *** ../ircu2.10.04/include/struct.h Mon Sep 21 18:33:23 1998 --- ../ircu2.10.04+/include/struct.h Mon Sep 21 18:38:07 1998 *************** *** 132,142 **** time_t timestamp; /* Remotely determined connect try time */ time_t ghost; /* Local time at which a new server caused a Ghost */ ! u_short prot; /* Major protocol */ ! u_short nn_mask; /* [Remote] FD_SETSIZE - 1 */ ! u_char last_x1; ! u_char last_x2; ! u_char esnet_db; /* !0 = La DB se puede transferir directamente, sin burst */ #ifdef LIST_DEBUG struct Client *bcptr; #endif --- 132,142 ---- time_t timestamp; /* Remotely determined connect try time */ time_t ghost; /* Local time at which a new server caused a Ghost */ ! unsigned short prot; /* Major protocol */ ! unsigned short nn_mask; /* [Remote] FD_SETSIZE - 1 */ ! unsigned char last_x1; ! unsigned char last_x2; ! unsigned char esnet_db; /* !0 = La DB se puede transferir directamente, sin burst */ #ifdef LIST_DEBUG struct Client *bcptr; #endif *** ../ircu2.10.04/include/s_user.h Mon Sep 21 18:31:40 1998 --- ../ircu2.10.04+/include/s_user.h Mon Sep 21 18:32:48 1998 *************** *** 67,72 **** --- 67,73 ---- extern void set_snomask(aClient *, snomask_t, int); extern int is_snomask(char *); extern int check_target_limit(aClient *sptr, void *target, const char *name); + extern void add_target(aClient *sptr, void *target); #ifdef DB_ESNET extern unsigned int base64toint(const char *str); #endif