From a13ffc7e5d7eb1b8161fe64cc125c891c90e5f08 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Apr 2005 12:50:24 +0000 Subject: Fixed minor typo in AllModulesReportReady() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1082 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3