Log message:
Actually, this should be the slightest bit more efficient than an else-if
clause.
Status: Compiled
Testing needed: Intuitively correct, but some testing is probably in order
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@246
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
2000-06-02 Kevin L. Mitchell <klmitch@mit.edu>
+ * ircd/m_gline.c (ms_gline): actually, this should be the
+ slightest bit more efficient...
+
+ * ircd/m_jupe.c (ms_jupe): actually, this should be the slightest
+ bit more efficient...
+
* ircd/m_gline.c (ms_gline): inhibit GLINE processing resends
during netburst
#
# ChangeLog for ircu2.10.11
#
-# $Id: ChangeLog,v 1.140 2000-06-02 22:57:33 kev Exp $
+# $Id: ChangeLog,v 1.141 2000-06-02 23:09:20 kev Exp $
#
# Insert new changes at beginning of the change list.
#
return gline_activate(cptr, sptr, agline, lastmod, flags);
else
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 */
+ } else if (GlineLastMod(agline) == lastmod || IsBurstOrBurstAck(cptr))
return 0;
else
return gline_resend(cptr, agline); /* other server desynched WRT gline */
return jupe_activate(cptr, sptr, ajupe, lastmod, flags);
else
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 */
+ } else if (JupeLastMod(ajupe) == lastmod || IsBurstOrBurstAck(cptr))
return 0;
else
return jupe_resend(cptr, ajupe); /* other server desynched WRT jupes */