aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/utils.cpp
diff options
context:
space:
mode:
authorGravatar w00t2008-10-08 09:08:30 +0000
committerGravatar w00t2008-10-08 09:08:30 +0000
commita7339c34f150a755a15e157ab06457ffc85c0965 (patch)
tree0825f2d755f97b7f2e4164d1bf4c46f99ff05dd5 /src/modules/m_spanningtree/utils.cpp
parentRemove this, we're not going to keep the .old, makes it twice as much work to... (diff)
downloadinspircd++-a7339c34f150a755a15e157ab06457ffc85c0965.tar.gz
inspircd++-a7339c34f150a755a15e157ab06457ffc85c0965.tar.bz2
inspircd++-a7339c34f150a755a15e157ab06457ffc85c0965.zip
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/modules/m_spanningtree/utils.cpp')
-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;