Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2004-09-11 13:23:00 UTC
Modified files:
ChangeLog include/supported.h
Log message:
Fix CHANMODES and add CHANNELLEN, STATUSMSG to 005 message.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.456 ircu2.10/ChangeLog:1.457
--- ircu2.10/ChangeLog:1.456 Fri Sep 10 20:46:28 2004
+++ ircu2.10/ChangeLog Sat Sep 11 06:22:48 2004
@@ -1,3 +1,9 @@
+2004-09-11 Michael Poole <[EMAIL PROTECTED]>
+
+ * include/supported.h: Kev pointed out I misinterpreted the
+ meaning of CHANMODES; fix this. Also define CHANNELLEN and
+ STATUSMSG from the ISUPPORT draft.
+
2004-09-10 Michael Poole <[EMAIL PROTECTED]>
* include/supported.h (FEATURESVALUES2): Include A,u, in CHANMODES
Index: ircu2.10/include/supported.h
diff -u ircu2.10/include/supported.h:1.16 ircu2.10/include/supported.h:1.17
--- ircu2.10/include/supported.h:1.16 Fri Sep 10 20:46:29 2004
+++ ircu2.10/include/supported.h Sat Sep 11 06:22:49 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.16 2004/09/11 03:46:29 entrope Exp $
+ * $Id: supported.h,v 1.17 2004/09/11 13:22:49 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
@@ -46,10 +46,12 @@
" MAXNICKLEN=%i" \
" TOPICLEN=%i" \
" AWAYLEN=%i" \
- " KICKLEN=%i"
+ " KICKLEN=%i" \
+ " CHANNELLEN=%i"
#define FEATURES2 "CHANTYPES=%s" \
" PREFIX=%s" \
+ " STATUSMSG=%s" \
" CHANMODES=%s" \
" CASEMAPPING=%s" \
" NETWORK=%s"
@@ -57,10 +59,10 @@
#define FEATURESVALUES1 feature_int(FEAT_MAXSILES), MAXMODEPARAMS, \
feature_int(FEAT_MAXCHANNELSPERUSER), \
feature_int(FEAT_MAXBANS), feature_int(FEAT_NICKLEN), \
- NICKLEN, TOPICLEN, AWAYLEN, TOPICLEN
+ NICKLEN, TOPICLEN, AWAYLEN, TOPICLEN, CHANNELLEN
-#define FEATURESVALUES2 (feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#"), "(ov)@+", \
- (feature_bool(FEAT_OPLEVELS) ? "A,b,k,l,u,imnpstrD" :
"b,k,l,imnpstrD"), \
+#define FEATURESVALUES2 (feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#"), "(ov)@+",
"@+", \
+ (feature_bool(FEAT_OPLEVELS) ? "b,Aku,l,imnpstrD" :
"b,k,l,imnpstrD"), \
"rfc1459", feature_str(FEAT_NETWORK)
#endif /* INCLUDED_supported_h */
----------------------- End of diff -----------------------