diff options
Diffstat (limited to 'src/inspircd.cpp')
-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() |