diff options
Diffstat (limited to 'src/modules/m_spanningtree/server.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/server.cpp | 8 |
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 ¶ms) this->InboundDescription = description; this->InboundSID = sid; - if (!sentcapab) - this->SendCapabilities(); + this->SendCapabilities(2); if (hops) { @@ -203,8 +202,7 @@ bool TreeSocket::Inbound_Server(parameterlist ¶ms) this->InboundDescription = description; this->InboundSID = sid; - if (!sentcapab) - this->SendCapabilities(); + this->SendCapabilities(2); if (hops) { @@ -261,7 +259,7 @@ bool TreeSocket::Inbound_Server(parameterlist ¶ms) // 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; |
