Announce oplevels in CHANMODES.
authorMichael Poole <mdpoole@troilus.org>
Sat, 11 Sep 2004 03:46:29 +0000 (03:46 +0000)
committerMichael Poole <mdpoole@troilus.org>
Sat, 11 Sep 2004 03:46:29 +0000 (03:46 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1116 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
include/supported.h

index a303dd46b6eeac43b05a8cd94950d171a2c126b3..df3b82fb577967725dc7350701f6ad45e4407171 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-10  Michael Poole <mdpoole@troilus.org>
+
+       * include/supported.h (FEATURESVALUES2): Include A,u, in CHANMODES
+       when oplevels are enabled.
+
 2004-09-10  Michael Poole <mdpoole@troilus.org>
 
        * ircd/channel.c (send_channel_modes): Only send oplevels for
index 9e6f71ac3bb73b67326b6da229ad3e11193e7959..a576d8c9a798ce58e287c66893e55a88be18b498 100644 (file)
@@ -59,8 +59,9 @@
                         feature_int(FEAT_MAXBANS), feature_int(FEAT_NICKLEN), \
                         NICKLEN, TOPICLEN, AWAYLEN, TOPICLEN
 
-#define FEATURESVALUES2 feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#", "(ov)@+", "b,k,l,imnpstrD", "rfc1459", \
-                        feature_str(FEAT_NETWORK)
+#define FEATURESVALUES2 (feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#"), "(ov)@+", \
+                        (feature_bool(FEAT_OPLEVELS) ? "A,b,k,l,u,imnpstrD" : "b,k,l,imnpstrD"), \
+                        "rfc1459", feature_str(FEAT_NETWORK)
 
 #endif /* INCLUDED_supported_h */