From b32a8c91935431510856ff6d6347299b62b77afe Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 30 Mar 2008 22:42:16 +0000 Subject: always ALWAYS send CAPAB before sending SERVER in any situation. This will mean that where HMAC is in use, with any luck we'll see the other sides challenge before sending our pass. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9228 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket2.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/m_spanningtree/treesocket2.cpp') diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index ec2fb971a..060dfd70e 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -936,6 +936,7 @@ bool TreeSocket::Inbound_Server(std::deque ¶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->WriteLine(std::string("SERVER ")+this->Instance->Config->ServerName+" "+this->MakePass(x->SendPass, this->GetTheirChallenge())+" 0 :"+this->Instance->Config->ServerDesc); // move to the next state, we are now waiting for THEM. this->LinkState = WAIT_AUTH_2; -- cgit v1.3.1-10-gc9f91