From 22ccd96fab15f43edc1fb0a59045436b6d8101cc Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 18 Oct 2007 18:33:19 +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/branches/1_1_stable@8231 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/userprocess.cpp') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index df422c721..bc5dac8f6 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -237,8 +237,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.3.1-10-gc9f91