Add missing modes from RPL_MYINFO (SF#2967675).
authorMichael Poole <mdpoole@troilus.org>
Fri, 1 Jun 2012 02:34:12 +0000 (22:34 -0400)
committerMichael Poole <mdpoole@troilus.org>
Fri, 1 Jun 2012 02:41:35 +0000 (22:41 -0400)
In particular, add the +d channel mode and +O user mode.

ChangeLog
include/channel.h
include/client.h

index f3e6f8e849ae6dca417c4e5183a25118a543485d..d955283cfd77552d755aa180c9cf3d7bc0fc2d1a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-05-31  Michael Poole <mdpoole@troilus.org>
+
+       * include/channel.h (infochanmodes): Add +d channel mode.
+
+       * include/client.h (infousermodes): Add +O user mode.
+
 2012-05-31  Michael Poole <mdpoole@troilus.org>
 
        * ircd/gline.c (gline_add): Add length checks for badchan and
index 7cafdf8d50f8b73a8763a70d59e8bd19eca22826..57ed5dc4a91bc37424653c0970de12f06230891c 100644 (file)
@@ -117,7 +117,7 @@ struct Client;
 #define MODE_WPARAS     (MODE_CHANOP|MODE_VOICE|MODE_BAN|MODE_KEY|MODE_LIMIT|MODE_APASS|MODE_UPASS)
 
 /** Available Channel modes */
-#define infochanmodes feature_bool(FEAT_OPLEVELS) ? "AbiklmnopstUvrDR" : "biklmnopstvrDR"
+#define infochanmodes feature_bool(FEAT_OPLEVELS) ? "AbiklmnopstUvrDdR" : "biklmnopstvrDdR"
 /** Available Channel modes that take parameters */
 #define infochanmodeswithparams feature_bool(FEAT_OPLEVELS) ? "AbkloUv" : "bklov"
 
index d889fd36f27329c51d976250ce704fae2b439c3f..f93a3ee425e3032a6de1a7df24f1410a4241168b 100644 (file)
@@ -90,7 +90,7 @@ typedef unsigned long flagpage_t;
 #define FlagClr(set,flag) ((set)->bits[FLAGSET_INDEX(flag)] &= ~FLAGSET_MASK(flag))
 
 /** String containing valid user modes, in no particular order. */
-#define infousermodes "dioswkgx"
+#define infousermodes "diOoswkgx"
 
 /** Operator privileges. */
 enum Priv