summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-19 01:22:36 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-19 01:22:36 +0000
commit9663a627bb77c42fd9d345412f96e6e9efca2746 (patch)
tree2c139a0acebea8eed8b4c618f948bbf04eb09f97
parent625b14a83ca139b50b6d0978612482b1691e6a78 (diff)
Final tweak to AllModulesReportReady, should be there now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9134 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 7e6fce2f0..be4bc012e 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -767,7 +767,7 @@ bool InspIRCd::AllModulesReportReady(User* user)
size_t ready = 0;
for (EventHandlerIter i = Modules->EventHandlers[I_OnCheckReady].begin(); i != Modules->EventHandlers[I_OnCheckReady].end(); ++i)
{
- if (!(*i)->OnCheckReady(user))
+ if ((*i)->OnCheckReady(user))
ready++;
}
return (ready == Modules->EventHandlers[I_OnCheckReady].size());