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