From 8bf2b150d625788f8dcb0ce0897537b832272760 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 22 Jan 2006 23:46:59 +0000 Subject: Wrong nicklen is shown in the 005 numeric, fixed (noticed by ThaPrince) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2847 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index b7324a167..56fc1c455 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -343,7 +343,7 @@ void InspIRCd::BuildISupport() { // the neatest way to construct the initial 005 numeric, considering the number of configure constants to go in it... std::stringstream v; - v << "WALLCHOPS MODES=13 CHANTYPES=# PREFIX=(ohv)@%+ MAP SAFELIST MAXCHANNELS=" << MAXCHANS << " MAXBANS=60 NICKLEN=" << NICKMAX; + v << "WALLCHOPS MODES=13 CHANTYPES=# PREFIX=(ohv)@%+ MAP SAFELIST MAXCHANNELS=" << MAXCHANS << " MAXBANS=60 NICKLEN=" << NICKMAX-1; v << " CASEMAPPING=rfc1459 STATUSMSG=@+ CHARSET=ascii TOPICLEN=" << MAXTOPIC << " KICKLEN=" << MAXKICK << " MAXTARGETS=20 AWAYLEN="; v << MAXAWAY << " CHANMODES=ohvb,k,l,psmnti NETWORK=" << Config->Network; Config->data005 = v.str(); -- cgit v1.2.3