diff options
| author | 2008-03-19 00:25:25 +0000 | |
|---|---|---|
| committer | 2008-03-19 00:25:25 +0000 | |
| commit | 0233c31289ffbb3042a90b49bf4de749cea74226 (patch) | |
| tree | 03a7a83240f812d6a9fdb3400070aa5f7b3e4fff /src/inspircd.cpp | |
| parent | Whoops, and dont get the comparison backwards. dont look at me like that, its... (diff) | |
| download | inspircd++-0233c31289ffbb3042a90b49bf4de749cea74226.tar.gz inspircd++-0233c31289ffbb3042a90b49bf4de749cea74226.tar.bz2 inspircd++-0233c31289ffbb3042a90b49bf4de749cea74226.zip | |
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/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() |
