summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/capab.cpp18
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");
}