summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 20:35:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 20:35:57 +0000
commit090c1d76e8fdce84fcf35fc5b08442295171aadc (patch)
treefbd247aeb159ed94cb43149e26c10c12a5e37435
parent7cfeba8bc8bb7bed36fe5d72f4563b3e1ec0b664 (diff)
Safety stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3346 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 6b7f8b073..a070e5099 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -654,7 +654,8 @@ void InspIRCd::DoOneIteration(bool process_module_sockets)
* most, 20 or so, so this won't be much of a performance
* hit at all.
*/
- DoSocketTimeouts(TIME);
+ if (!process_module_sockets)
+ DoSocketTimeouts(TIME);
TickTimers(TIME);