diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-19 00:25:25 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-19 00:25:25 +0000 |
commit | 0233c31289ffbb3042a90b49bf4de749cea74226 (patch) | |
tree | 03a7a83240f812d6a9fdb3400070aa5f7b3e4fff /src | |
parent | 6d05c35ac834007a5fafdf8b24c859a01cf3d553 (diff) |
Damnit, its right now. im going to bed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9131 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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() |