diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-18 18:35:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-18 18:35:09 +0000 |
commit | 8b92a8135cb90f489467b8fe4e994c3bb0b6d1c8 (patch) | |
tree | ae5ae46ed11f24046fe6419b1b8a566fe2a57161 | |
parent | 525e038f8df80be4f743d26a7f7f75293b2618b5 (diff) |
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
-rw-r--r-- | src/userprocess.cpp | 4 |
1 files 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) { |