diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-22 23:46:59 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-22 23:46:59 +0000 |
commit | 8bf2b150d625788f8dcb0ce0897537b832272760 (patch) | |
tree | 232077142bb8912f5d984e6f981fb2eceb2cf84a | |
parent | 5b2afce715d7177b0981d3d60f87b6ce6a5a7ee5 (diff) |
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
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |