Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2007-01-23 01:58:06 UTC
Modified files:
Tag: u2_10_12_branch
ChangeLog include/supported.h
Log message:
Limit ISUPPORT to 16 total items per line.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.140 ircu2.10/ChangeLog:1.710.2.141
--- ircu2.10/ChangeLog:1.710.2.140 Mon Jan 22 17:54:30 2007
+++ ircu2.10/ChangeLog Mon Jan 22 17:57:55 2007
@@ -1,3 +1,9 @@
+2007-01-22 Michael Poole <[EMAIL PROTECTED]>
+
+ * include/supported.h: Move parameters from FEATURES1 to FEATURES2
+ so that neither ISUPPORT line has more than 15 parameters. (Some
+ clients are picky about this.)
+
2007-01-21 Michael Poole <[EMAIL PROTECTED]>
* include/patchlevel.h (PATCHLEVEL): Bump for pre10 development.
Index: ircu2.10/include/supported.h
diff -u ircu2.10/include/supported.h:1.20 ircu2.10/include/supported.h:1.20.2.1
--- ircu2.10/include/supported.h:1.20 Mon Aug 15 16:22:50 2005
+++ ircu2.10/include/supported.h Mon Jan 22 17:57:56 2007
@@ -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.20 2005/08/15 23:22:50 entrope Exp $
+ * $Id: supported.h,v 1.20.2.1 2007/01/23 01:57:56 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
@@ -42,15 +42,16 @@
" MODES=%i" \
" MAXCHANNELS=%i" \
" MAXBANS=%i" \
- " NICKLEN=%i" \
- " MAXNICKLEN=%i" \
+ " NICKLEN=%i"
+
+
+#define FEATURES2 " MAXNICKLEN=%i" \
" TOPICLEN=%i" \
" AWAYLEN=%i" \
" KICKLEN=%i" \
" CHANNELLEN=%i" \
- " MAXCHANNELLEN=%i"
-
-#define FEATURES2 "CHANTYPES=%s" \
+ " MAXCHANNELLEN=%i" \
+ " CHANTYPES=%s" \
" PREFIX=%s" \
" STATUSMSG=%s" \
" CHANMODES=%s" \
@@ -59,11 +60,11 @@
#define FEATURESVALUES1 feature_int(FEAT_MAXSILES), MAXMODEPARAMS, \
feature_int(FEAT_MAXCHANNELSPERUSER), \
- feature_int(FEAT_MAXBANS), feature_int(FEAT_NICKLEN), \
- NICKLEN, TOPICLEN, AWAYLEN, TOPICLEN, \
- feature_int(FEAT_CHANNELLEN), CHANNELLEN
+ feature_int(FEAT_MAXBANS), feature_int(FEAT_NICKLEN)
-#define FEATURESVALUES2 (feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#"),
"(ov)@+", "@+", \
+#define FEATURESVALUES2 NICKLEN, TOPICLEN, AWAYLEN, TOPICLEN, \
+ feature_int(FEAT_CHANNELLEN), CHANNELLEN, \
+ (feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#"),
"(ov)@+", "@+", \
(feature_bool(FEAT_OPLEVELS) ? "b,AkU,l,imnpstrDd" :
"b,k,l,imnpstrDd"), \
"rfc1459", feature_str(FEAT_NETWORK)
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches