Log message:
Don't allow G-lines to have 0 lastmod--return a "need more params" message
if lastmod evaluates to 0. This solves the bug where not passing a lastmod
resulted in an assertion failure in gline_propagate().
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1799
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2007-04-10 Kevin L. Mitchell <klmitch@mit.edu>
+
+ * ircd/m_gline.c (ms_gline): lastmod must be non-zero
+
2007-04-04 Michael Poole <mdpoole@troilus.org>
* ircd/s_conf.c (rehash): Restart resolver after reading the
}
}
+ if (!lastmod) /* must have a lastmod parameter by now */
+ return need_more_params(sptr, "GLINE");
+
Debug((DEBUG_DEBUG, "I have a global G-line I am acting upon now; "
"target %s, mask %s, operforce %s, action %s, expire %Tu, "
"lastmod %Tu, lifetime %Tu, reason: %s; gline %s! (fields "