summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree/utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp
index 0b610404f..e657dd5fb 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -54,6 +54,8 @@ void ServerSocketListener::OnAcceptReady(const std::string &ipconnectedto, int n
}
}
+ this->GetIOHook()->OnRawSocketAccept(newsock, incomingip.c_str(), this->bind_port);
+
/* we don't need a pointer to this, creating it stores it in the necessary places */
new TreeSocket(this->Utils, this->ServerInstance, newsock, ip, this->GetIOHook());
return;