From 5c448873776d720e2042e07932e77bea8f92c40d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 24 Jun 2007 08:07:59 +0000 Subject: Fix for atheme support (and others) which makes sure CAPAB is always sent before BURST git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7404 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (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 d13ea0d89..86a00a241 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -803,6 +803,9 @@ bool TreeSocket::Outbound_Reply_Server(std::deque ¶ms) this->InboundServerName = sname; this->InboundDescription = description; + if (!sentcapab) + this->SendCapabilities(); + if (hops) { this->SendError("Server too far away for authentication"); @@ -856,6 +859,9 @@ bool TreeSocket::Inbound_Server(std::deque ¶ms) this->InboundServerName = sname; this->InboundDescription = description; + if (!sentcapab) + this->SendCapabilities(); + if (hops) { this->SendError("Server too far away for authentication"); -- cgit v1.3.1-10-gc9f91