diff options
-rw-r--r-- | src/inspircd.cpp | 3 |
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); |