summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-08 09:08:30 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-08 09:08:30 +0000
commita7339c34f150a755a15e157ab06457ffc85c0965 (patch)
tree0825f2d755f97b7f2e4164d1bf4c46f99ff05dd5 /src
parent513a6fe20da8b51a939fe517ca712666b32d72ac (diff)
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
Diffstat (limited to 'src')
-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;