Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2004-09-11 03:46:39 UTC

Modified files:
     ChangeLog include/supported.h

Log message:

Announce oplevels in CHANMODES.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.455 ircu2.10/ChangeLog:1.456
--- ircu2.10/ChangeLog:1.455    Fri Sep 10 19:06:04 2004
+++ ircu2.10/ChangeLog  Fri Sep 10 20:46:28 2004
@@ -1,5 +1,10 @@
 2004-09-10  Michael Poole <[EMAIL PROTECTED]>
 
+       * include/supported.h (FEATURESVALUES2): Include A,u, in CHANMODES
+       when oplevels are enabled.
+
+2004-09-10  Michael Poole <[EMAIL PROTECTED]>
+
        * ircd/channel.c (send_channel_modes): Only send oplevels for
        channels that actually use them -- for -A channels, send chanops
        as :o even if OPLEVELS is enabled.
Index: ircu2.10/include/supported.h
diff -u ircu2.10/include/supported.h:1.15 ircu2.10/include/supported.h:1.16
--- ircu2.10/include/supported.h:1.15   Fri May 14 06:17:08 2004
+++ ircu2.10/include/supported.h        Fri Sep 10 20:46:29 2004
@@ -16,7 +16,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: supported.h,v 1.15 2004/05/14 13:17:08 entrope Exp $
+ * $Id: supported.h,v 1.16 2004/09/11 03:46:29 entrope Exp $
  *
  * Description: This file has the featureset that ircu announces on connecting
  *              a client.  It's in this .h because it's likely to be appended
@@ -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 */
 
----------------------- End of diff -----------------------

Reply via email to