diff options
| author | 2007-06-24 08:07:59 +0000 | |
|---|---|---|
| committer | 2007-06-24 08:07:59 +0000 | |
| commit | 5c448873776d720e2042e07932e77bea8f92c40d (patch) | |
| tree | 2e9965eda6b460d0fa5c946d1bfaf3697f006b81 /src/modules/m_spanningtree/treesocket2.cpp | |
| parent | No no no, the fix to free module factories in loadmodule on error causes a bu... (diff) | |
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
Diffstat (limited to 'src/modules/m_spanningtree/treesocket2.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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<std::string> ¶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<std::string> ¶ms) this->InboundServerName = sname; this->InboundDescription = description; + if (!sentcapab) + this->SendCapabilities(); + if (hops) { this->SendError("Server too far away for authentication"); |
