summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-14 12:50:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-14 12:50:24 +0000
commita13ffc7e5d7eb1b8161fe64cc125c891c90e5f08 (patch)
treef2c857e4dc52f6c62e783946d26941da9086d15b /src
parenteacdc9ef87b671e80f27043e021d98daa44bce92 (diff)
Fixed minor typo in AllModulesReportReady()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1082 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp7
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;
}