summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-08 18:39:19 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-08 18:39:19 +0000
commitfc7dbbeb07e03180307833295ddff996abe12efd (patch)
tree923a282690a43847b443a5d1feed635bbd78f0a0 /src/modules
parentffa107c3677b54d09c42c169d75f78dcbe751f60 (diff)
This comment is slightly out of date: we do write to opers now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9428 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp
index aa7d2b2af..035331e5f 100644
--- a/src/modules/m_spanningtree/treesocket2.cpp
+++ b/src/modules/m_spanningtree/treesocket2.cpp
@@ -683,10 +683,6 @@ void TreeSocket::OnClose()
int TreeSocket::OnIncomingConnection(int newsock, char* ip)
{
- /* To prevent anyone from attempting to flood opers/DDoS by connecting to the server port,
- * or discovering if this port is the server port, we don't allow connections from any
- * IPs for which we don't have a link block.
- */
bool found = false;
found = (std::find(Utils->ValidIPs.begin(), Utils->ValidIPs.end(), ip) != Utils->ValidIPs.end());