From 0233c31289ffbb3042a90b49bf4de749cea74226 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 19 Mar 2008 00:25:25 +0000 Subject: Damnit, its right now. im going to bed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9131 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 76cd9a37c..7e6fce2f0 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -767,10 +767,10 @@ 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()); + return (ready == Modules->EventHandlers[I_OnCheckReady].size()); } time_t InspIRCd::Time() -- cgit v1.2.3