diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-18 21:49:23 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-18 21:49:23 +0000 |
commit | 4a25e2f3b277706c87fb363b3aec3f0c5a654ee1 (patch) | |
tree | 4d05b8faa3ecc12281e5feb66c9c845281a94bc3 /src | |
parent | dc3f12a74be6df2065e4aef1db7bdc8a510ffd62 (diff) |
Make the CAPAB sender in spanningtree more readable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9536 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/capab.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp index aa69e2ee6..5919c65bb 100644 --- a/src/modules/m_spanningtree/capab.cpp +++ b/src/modules/m_spanningtree/capab.cpp @@ -80,7 +80,23 @@ void TreeSocket::SendCapabilities() extra = " CHALLENGE=" + this->GetOurChallenge(); } - this->WriteLine("CAPAB CAPABILITIES :NICKMAX="+ConvToStr(NICKMAX)+" HALFOP="+ConvToStr(this->Instance->Config->AllowHalfop)+" CHANMAX="+ConvToStr(CHANMAX)+" MAXMODES="+ConvToStr(MAXMODES)+" IDENTMAX="+ConvToStr(IDENTMAX)+" MAXQUIT="+ConvToStr(MAXQUIT)+" MAXTOPIC="+ConvToStr(MAXTOPIC)+" MAXKICK="+ConvToStr(MAXKICK)+" MAXGECOS="+ConvToStr(MAXGECOS)+" MAXAWAY="+ConvToStr(MAXAWAY)+" IP6NATIVE="+ConvToStr(ip6)+" IP6SUPPORT="+ConvToStr(ip6support)+" PROTOCOL="+ConvToStr(ProtocolVersion)+extra+" PREFIX="+Instance->Modes->BuildPrefixes()+" CHANMODES="+Instance->Modes->ChanModes()+" SVSPART=1"); + this->WriteLine("CAPAB CAPABILITIES " /* Preprocessor does this one. */ + ":NICKMAX="+ConvToStr(NICKMAX)+ + " HALFOP="+ConvToStr(this->Instance->Config->AllowHalfop)+ + " CHANMAX="+ConvToStr(CHANMAX)+ + " MAXMODES="+ConvToStr(MAXMODES)+ + " IDENTMAX="+ConvToStr(IDENTMAX)+ + " MAXQUIT="+ConvToStr(MAXQUIT)+ + " MAXTOPIC="+ConvToStr(MAXTOPIC)+ + " MAXKICK="+ConvToStr(MAXKICK)+ + " MAXGECOS="+ConvToStr(MAXGECOS)+ + " MAXAWAY="+ConvToStr(MAXAWAY)+ + " IP6NATIVE="+ConvToStr(ip6)+ + " IP6SUPPORT="+ConvToStr(ip6support)+ + " PROTOCOL="+ConvToStr(ProtocolVersion)+extra+ + " PREFIX="+Instance->Modes->BuildPrefixes()+ + " CHANMODES="+Instance->Modes->ChanModes()+ + " SVSPART=1"); this->WriteLine("CAPAB END"); } |