summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 3e5e2beb9..ee2118915 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -154,8 +154,6 @@ restart:
if (s->GetSocket() && s->GetSocket()->GetLinkState() == DYING)
{
- s->GetSocket()->SendError("Ping timeout");
- s->GetSocket()->Squit(s,"Ping timeout");
s->GetSocket()->Close();
goto restart;
}
@@ -196,7 +194,6 @@ restart:
if (sock)
{
sock->SendError("Ping timeout");
- sock->Squit(s,"Ping timeout");
sock->Close();
goto restart;
}
@@ -776,7 +773,6 @@ void ModuleSpanningTree::OnUnloadModule(Module* mod)
if (sock && sock->GetIOHook() == mod)
{
sock->SendError("SSL module unloaded");
- sock->Squit(srv,"SSL module unloaded");
sock->Close();
}
}