mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
Damnit, its right now. im going to bed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9131 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
6d05c35ac8
commit
0233c31289
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user