From ec024ec2bca332a02fa57ae6d655abd4060cbec0 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 25 Jan 2006 22:10:50 +0000 Subject: Fixed to not have ohv in CHANMODES type A, Added proper MAXMODES output in 005 instead of hard coded '13' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2905 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 6b43ab921..8d54fd737 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -377,9 +377,9 @@ 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-1; + v << "WALLCHOPS MODES=" << MAXMODES << " CHANTYPES=# PREFIX=(ohv)@%+ MAP SAFELIST MAXCHANNELS=" << MAXCHANS << " MAXBANS=60 NICKLEN=" << NICKMAX-1; v << " CASEMAPPING=rfc1459 STATUSMSG=@+ CHARSET=ascii TOPICLEN=" << MAXTOPIC << " KICKLEN=" << MAXKICK << " MAXTARGETS=" << Config->MaxTargets << " AWAYLEN="; - v << MAXAWAY << " CHANMODES=ohvb,k,l,psmnti NETWORK=" << Config->Network; + v << MAXAWAY << " CHANMODES=b,k,l,psmnti NETWORK=" << Config->Network; Config->data005 = v.str(); FOREACH_MOD(I_On005Numeric,On005Numeric(Config->data005)); } -- cgit v1.2.3