summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/handshaketimer.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-09 16:04:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-09 16:04:13 +0000
commit39361603e3b95829e54d04b92b376ebe79edc8b3 (patch)
tree40d28998517ef34a93069a760dbe13ae74f7b3eb /src/modules/m_spanningtree/handshaketimer.cpp
parenta22c47d19a9388c051dd96d711a0e4a4ef8a8b81 (diff)
More fucking around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6773 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/handshaketimer.cpp')
-rw-r--r--src/modules/m_spanningtree/handshaketimer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/handshaketimer.cpp b/src/modules/m_spanningtree/handshaketimer.cpp
index 652390750..a8562a0f1 100644
--- a/src/modules/m_spanningtree/handshaketimer.cpp
+++ b/src/modules/m_spanningtree/handshaketimer.cpp
@@ -44,8 +44,6 @@ void HandshakeTimer::Tick(time_t TIME)
if (!sock->GetHook())
{
sock->SendCapabilities();
- if (sock->GetLinkState() == CONNECTING)
- sock->WriteLine(std::string("SERVER ")+this->Instance->Config->ServerName+" "+sock->MakePass(lnk->SendPass, sock->GetTheirChallenge())+" 0 :"+this->Instance->Config->ServerDesc);
}
else
{
@@ -53,8 +51,6 @@ void HandshakeTimer::Tick(time_t TIME)
{
InspSocketAttachCertRequest(sock, (Module*)Utils->Creator, sock->GetHook()).Send();
sock->SendCapabilities();
- if ((sock->GetLinkState() == CONNECTING) && (sock->GetOurChallenge().empty()))
- sock->WriteLine(std::string("SERVER ")+this->Instance->Config->ServerName+" "+sock->MakePass(lnk->SendPass, sock->GetTheirChallenge())+" 0 :"+this->Instance->Config->ServerDesc);
}
else
{