Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2005-10-05 02:15:31 UTC
Modified files:
ChangeLog doc/readme.features include/ircd_features.h
ircd/ircd_features.c
Log message:
Add USER_GLIST feature.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.718 ircu2.10/ChangeLog:1.719
--- ircu2.10/ChangeLog:1.718 Tue Oct 4 18:53:30 2005
+++ ircu2.10/ChangeLog Tue Oct 4 19:15:20 2005
@@ -1,3 +1,13 @@
+2004-03-20 Fredrik Soderblom <[EMAIL PROTECTED]>
+
+ * doc/readme.features: Document this new feature.
+
+ * include/ircd_features.h (FEAT_USER_GLIST): New feature.
+
+ * ircd/m_gline.c (m_gline): Consult it.
+
+ * ircd/ircd_features.c (FEAT_USER_GLIST): Define it.
+
2005-10-04 Michael Poole <[EMAIL PROTECTED]>
[Based on a patch by Jukka Ollila]
Index: ircu2.10/doc/readme.features
diff -u ircu2.10/doc/readme.features:1.19 ircu2.10/doc/readme.features:1.20
--- ircu2.10/doc/readme.features:1.19 Sat Jul 16 17:03:43 2005
+++ ircu2.10/doc/readme.features Tue Oct 4 19:15:20 2005
@@ -853,3 +853,10 @@
This is the allowed length of locally created channels. It may not be
larger than the CHANNELLEN #define. Like the NICKLEN feature, this is
intended to ease changes in channel name length across a network.
+
+USER_GLIST
+* Type: boolean
+* Default: FALSE
+
+Optionally removes the ability to list glines by users
+(ie /GLINE [EMAIL PROTECTED], shows reason, expiry time etc)
Index: ircu2.10/include/ircd_features.h
diff -u ircu2.10/include/ircd_features.h:1.38
ircu2.10/include/ircd_features.h:1.39
--- ircu2.10/include/ircd_features.h:1.38 Thu Jul 14 20:02:32 2005
+++ ircu2.10/include/ircd_features.h Tue Oct 4 19:15:20 2005
@@ -20,7 +20,7 @@
*/
/** @file
* @brief Public interfaces and declarations for dealing with configurable
features.
- * @version $Id: ircd_features.h,v 1.38 2005/07/15 03:02:32 entrope Exp $
+ * @version $Id: ircd_features.h,v 1.39 2005/10/05 02:15:20 entrope Exp $
*/
struct Client;
@@ -58,6 +58,7 @@
FEAT_OPLEVELS,
FEAT_LOCAL_CHANNELS,
FEAT_TOPIC_BURST,
+ FEAT_USER_GLIST,
/* features that probably should not be touched */
FEAT_KILLCHASETIMELIMIT,
Index: ircu2.10/ircd/ircd_features.c
diff -u ircu2.10/ircd/ircd_features.c:1.50 ircu2.10/ircd/ircd_features.c:1.51
--- ircu2.10/ircd/ircd_features.c:1.50 Fri Jul 15 14:28:34 2005
+++ ircu2.10/ircd/ircd_features.c Tue Oct 4 19:15:20 2005
@@ -18,7 +18,7 @@
*/
/** @file
* @brief Implementation of configurable feature support.
- * @version $Id: ircd_features.c,v 1.50 2005/07/15 21:28:34 entrope Exp $
+ * @version $Id: ircd_features.c,v 1.51 2005/10/05 02:15:20 entrope Exp $
*/
#include "config.h"
@@ -311,6 +311,7 @@
F_B(OPLEVELS, 0, 1, 0),
F_B(LOCAL_CHANNELS, 0, 1, 0),
F_B(TOPIC_BURST, 0, 0, 0),
+ F_B(USER_GLIST, 0, 1, 0),
/* features that probably should not be touched */
F_I(KILLCHASETIMELIMIT, 0, 30, 0),
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches