summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-16 10:28:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-16 10:28:15 +0000
commit26d5bbeb12848e286dee0a8605e34ad5637d82d0 (patch)
tree8a8109e107c645dc42e50d32ec0af18cb3ed7a0a /src/modules
parent205108cd4ecedc623b89bc37d2429f15eb4c0a73 (diff)
Not sending capab when theres no transport module attached to a server socket
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6010 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 1d822489b..c84ec7961 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -718,6 +718,10 @@ class TreeSocket : public InspSocket
InspSocketHookRequest(this, (Module*)Utils->Creator, Hook).Send();
Instance->Timers->AddTimer(new HandshakeTimer(Instance, this, &(Utils->LinkBlocks[0]), this->Utils));
}
+ else
+ {
+ this->SendCapabilities();
+ }
}
ServerState GetLinkState()