Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_gline.c
index 18c1855ae6c72f99dd9c7b4adcd0365b0fc46aec..1fa28dd79064d7d556bb2173ccccce4f548df94e 100644 (file)
@@ -306,6 +306,9 @@ ms_gline(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
     }
   }
 
+  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 "