Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-10-05 02:44:06 UTC

Modified files:
     ircd/m_gline.c

Log message:

Update file ommitted from last commit.

---------------------- diff included ----------------------
Index: ircu2.10/ircd/m_gline.c
diff -u ircu2.10/ircd/m_gline.c:1.26 ircu2.10/ircd/m_gline.c:1.27
--- ircu2.10/ircd/m_gline.c:1.26        Fri Dec 10 21:13:46 2004
+++ ircu2.10/ircd/m_gline.c     Tue Oct  4 19:43:56 2005
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: m_gline.c,v 1.26 2004/12/11 05:13:46 klmitch Exp $
+ * $Id: m_gline.c,v 1.27 2005/10/05 02:43:56 entrope Exp $
  */
 
 /*
@@ -336,5 +336,8 @@
   if (parc < 2)
     return send_reply(sptr, ERR_NOSUCHGLINE, "");
 
+  if (!feature_bool(FEAT_USER_GLIST))
+    return send_reply(sptr, ERR_DISABLED, "GLINE");
+
   return gline_list(sptr, parv[1]);
 }
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to