From 8b92a8135cb90f489467b8fe4e994c3bb0b6d1c8 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 18 Oct 2007 18:35:09 +0000 Subject: Oops, OnCheckReady being called after registration! This doesnt break the new m_ident, but it goes against spec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8232 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 469fa61d0..02ceaa9e5 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -215,8 +215,8 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME) * user has signed on with USER/NICK/PASS, and dns has completed, all the modules * say this user is ok to proceed, fully connect them. */ - bool ready = AllModulesReportReady(curr); - if ((TIME > curr->signon) && (curr->registered == REG_NICKUSER) && (ready)) + bool ready = ((curr->registered == REG_NICKUSER) && AllModulesReportReady(curr)); + if ((TIME > curr->signon) && (ready)) { if (!curr->dns_done) { -- cgit v1.2.3