]> jfr.im git - irc/quakenet/snircd.git/blobdiff - ircd/m_gline.c
forward port of asuka-his_usergline.patch to .12
[irc/quakenet/snircd.git] / ircd / m_gline.c
index b79fc9c2a777e9fec236c2faaf8fdb7c9d288097..49ddca6bc1972c784619ba3ca51b4c7ffe50fa6f 100644 (file)
@@ -333,6 +333,9 @@ mo_gline(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
 int
 m_gline(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
 {
+  if (feature_bool(FEAT_HIS_USERGLINE))
+    return send_reply(sptr, ERR_DISABLED, "GLINE");
+
   if (parc < 2)
     return send_reply(sptr, ERR_NOSUCHGLINE, "");