From 8ca460a0e660f7ac6bae4dfdc88680876fd899f5 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:52:54 +0000 Subject: 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 --- src/modules/m_spanningtree/server.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/modules/m_spanningtree/server.cpp') 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; -- cgit v1.3.1-10-gc9f91