From 9663a627bb77c42fd9d345412f96e6e9efca2746 Mon Sep 17 00:00:00 2001 From: peavey Date: Wed, 19 Mar 2008 01:22:36 +0000 Subject: Final tweak to AllModulesReportReady, should be there now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9134 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()); -- cgit v1.2.3