summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-22 07:24:05 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-22 07:24:05 +0000
commit0e962ce7dd6b5111dc3baf9cee8b73aa67895690 (patch)
tree4575e8daed30bc5d1a61c6c6f9a8b4f7a713f90a /src
parent392c3490d97960c22ac4aa15deb035e190584828 (diff)
Stack overflow prevention allows deeper recursion
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3748 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 9ffc14cf7..bf124164a 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -589,7 +589,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets)
sockaddr_in sock_us; // our port number
socklen_t uslen; // length of our port number
- if (yield_depth > 3)
+ if (yield_depth > 100)
return;
yield_depth++;