diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index badf284e7..6eacf92ca 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2581,12 +2581,11 @@ void FullConnectUser(userrec* user) // registration timeout maximum seconds) bool AllModulesReportReady(userrec* user) { - for (int i = 0; i <= MODCOUNT; i++) { + for (int i = 0; i <= MODCOUNT; i++) + { int res = modules[i]->OnCheckReady(user); - if (!res) { + if (!res) return false; - } - } } return true; } |