summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/userprocess.cpp4
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)
{