summaryrefslogtreecommitdiff
path: root/src/userprocess.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-12-30 20:26:05 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-12-30 20:26:05 +0100
commit37db441fb55f954f25fb2846e803b5c9527c21bb (patch)
tree17f4ffb6e955f5825ddcbfb942206c333c6ac026 /src/userprocess.cpp
parent8365be5414ae0f6d09724bd540db41ba24b2a7fd (diff)
Fix User::age being incorrectly used in some places instead of signon
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r--src/userprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index 9cc2e7df7..0ef95e413 100644
--- a/src/userprocess.cpp
+++ b/src/userprocess.cpp
@@ -107,7 +107,7 @@ void InspIRCd::DoBackgroundUserStuff()
break;
}
- if (curr->registered != REG_ALL && (Time() > (curr->age + curr->MyClass->GetRegTimeout())))
+ if (curr->registered != REG_ALL && (Time() > (curr->signon + curr->MyClass->GetRegTimeout())))
{
/*
* registration timeout -- didnt send USER/NICK/HOST