From eeabdde6fbd99bc0ba5739c65421a9c20b503f72 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 6 Jun 2013 03:13:55 +0200 Subject: Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManager --- src/inspircd.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/inspircd.cpp') 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) -- cgit v1.3.1-10-gc9f91