diff options
| author | 2013-06-06 03:13:55 +0200 | |
|---|---|---|
| committer | 2013-06-06 03:13:55 +0200 | |
| commit | eeabdde6fbd99bc0ba5739c65421a9c20b503f72 (patch) | |
| tree | 39bd0d947f428fdecf757257625445ea5887d497 /src/inspircd.cpp | |
| parent | Store prefix rank in a ModeHandler field, change ModeHandler::GetPrefixRank()... (diff) | |
| download | inspircd++-eeabdde6fbd99bc0ba5739c65421a9c20b503f72.tar.gz inspircd++-eeabdde6fbd99bc0ba5739c65421a9c20b503f72.tar.bz2 inspircd++-eeabdde6fbd99bc0ba5739c65421a9c20b503f72.zip | |
Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManager
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 0e4a6646f..c40c5fb00 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -748,7 +748,7 @@ int InspIRCd::Run() } Timers->TickTimers(TIME.tv_sec); - this->DoBackgroundUserStuff(); + Users->DoBackgroundUserStuff(); if ((TIME.tv_sec % 5) == 0) { @@ -781,19 +781,6 @@ int InspIRCd::Run() return 0; } -/**********************************************************************************/ - -/* this returns true when all modules are satisfied that the user should be allowed onto the irc server - * (until this returns true, a user will block in the waiting state, waiting to connect up to the - * registration timeout maximum seconds) - */ -bool InspIRCd::AllModulesReportReady(LocalUser* user) -{ - ModResult res; - FIRST_MOD_RESULT(OnCheckReady, res, (user)); - return (res == MOD_RES_PASSTHRU); -} - sig_atomic_t InspIRCd::s_signal = 0; void InspIRCd::SetSignal(int signal) |
