diff options
| author | 2007-10-18 18:33:19 +0000 | |
|---|---|---|
| committer | 2007-10-18 18:33:19 +0000 | |
| commit | 22ccd96fab15f43edc1fb0a59045436b6d8101cc (patch) | |
| tree | 167b4b0d65ef689d111c57cc9a138204affa2f78 /src/userprocess.cpp | |
| parent | Make buildable on 1.1 (hard work!) (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/branches/1_1_stable@8231 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/userprocess.cpp')
| -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 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) { |
