summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-25 22:10:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-25 22:10:50 +0000
commitec024ec2bca332a02fa57ae6d655abd4060cbec0 (patch)
tree99ed97c9c3b5df492f2343d62ae3ef834c04b1c2
parent3d7cec97446cf3b7f7c6b5d1dce7f065353a593b (diff)
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
-rw-r--r--src/inspircd.cpp4
1 files 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));
}