summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/server.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:52:54 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:52:54 +0000
commit8ca460a0e660f7ac6bae4dfdc88680876fd899f5 (patch)
tree063df543e7d38449300588b54d00e4612250580e /src/modules/m_spanningtree/server.cpp
parente62516014fdbc13a0baf9b869b747300bfdccbc7 (diff)
Add modules to the VF_COMMON list in backwards compatability link mode, translate FIDENT as CHGIDENT
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11657 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/server.cpp')
-rw-r--r--src/modules/m_spanningtree/server.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/modules/m_spanningtree/server.cpp b/src/modules/m_spanningtree/server.cpp
index 24d1a66e7..6351c93b5 100644
--- a/src/modules/m_spanningtree/server.cpp
+++ b/src/modules/m_spanningtree/server.cpp
@@ -107,8 +107,7 @@ bool TreeSocket::Outbound_Reply_Server(parameterlist &params)
this->InboundDescription = description;
this->InboundSID = sid;
- if (!sentcapab)
- this->SendCapabilities();
+ this->SendCapabilities(2);
if (hops)
{
@@ -203,8 +202,7 @@ bool TreeSocket::Inbound_Server(parameterlist &params)
this->InboundDescription = description;
this->InboundSID = sid;
- if (!sentcapab)
- this->SendCapabilities();
+ this->SendCapabilities(2);
if (hops)
{
@@ -261,7 +259,7 @@ bool TreeSocket::Inbound_Server(parameterlist &params)
// this is good. Send our details: Our server name and description and hopcount of 0,
// along with the sendpass from this block.
- this->SendCapabilities();
+ this->SendCapabilities(2);
this->WriteLine(std::string("SERVER ")+this->ServerInstance->Config->ServerName+" "+this->MakePass(x->SendPass, this->GetTheirChallenge())+" 0 "+ServerInstance->Config->GetSID()+" :"+this->ServerInstance->Config->ServerDesc);
// move to the next state, we are now waiting for THEM.
this->LinkState = WAIT_AUTH_2;