From a7339c34f150a755a15e157ab06457ffc85c0965 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 8 Oct 2008 09:08:30 +0000 Subject: Fix: call OnRawSocketAccept for server connections. This isn't yet done in an ideal fashion, but it should work for now. Fixes bug #616, reported by dz. Thanks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10629 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/utils.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules') 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; -- cgit v1.2.3