From: Kevin L. Mitchell Date: Fri, 2 Jun 2000 22:57:33 +0000 (+0000) Subject: Author: Kev X-Git-Url: http://git.pk910.de/?a=commitdiff_plain;h=b117af210bdad06bf3d0e18f465d17d6e432e7e9;p=ircu2.10.12-pk.git Author: Kev Log message: Inhibit JUPE/GLINE processing resynch sends during netburst Status: Tested Testing needed: QA git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@245 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index b19e336..7a8efe4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2000-06-02 Kevin L. Mitchell + * ircd/m_gline.c (ms_gline): inhibit GLINE processing resends + during netburst + + * ircd/m_jupe.c (ms_jupe): inhibit JUPE processing resends during + netburst + * ircd/channel.c (joinbuf_join): really remove user from local channels @@ -1159,7 +1165,7 @@ # # ChangeLog for ircu2.10.11 # -# $Id: ChangeLog,v 1.139 2000-06-02 14:49:29 kev Exp $ +# $Id: ChangeLog,v 1.140 2000-06-02 22:57:33 kev Exp $ # # Insert new changes at beginning of the change list. # diff --git a/ircd/m_gline.c b/ircd/m_gline.c index cc5915a..4c1ebf6 100644 --- a/ircd/m_gline.c +++ b/ircd/m_gline.c @@ -186,6 +186,8 @@ ms_gline(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) return gline_deactivate(cptr, sptr, agline, lastmod, flags); } else if (GlineLastMod(agline) == lastmod) return 0; + else if (IsBurstOrBurstAck(cptr)) /* it's in the burst, so don't resynch */ + return 0; else return gline_resend(cptr, agline); /* other server desynched WRT gline */ } else if (parc < 5) diff --git a/ircd/m_jupe.c b/ircd/m_jupe.c index 2541875..4647952 100644 --- a/ircd/m_jupe.c +++ b/ircd/m_jupe.c @@ -167,6 +167,8 @@ int ms_jupe(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) return jupe_deactivate(cptr, sptr, ajupe, lastmod, flags); } else if (JupeLastMod(ajupe) == lastmod) /* no changes */ return 0; + else if (IsBurstOrBurstAck(cptr)) /* it's in the burst, so don't resynch */ + return 0; else return jupe_resend(cptr, ajupe); /* other server desynched WRT jupes */ }