diff options
| author | 2010-08-04 13:04:11 -0400 | |
|---|---|---|
| committer | 2010-08-04 13:04:11 -0400 | |
| commit | 4fa1ec6eb3871b332df0279260e07b7d5b59664c (patch) | |
| tree | 95200298b565b27da6bdd750bcd319538a107102 /src/userprocess.cpp | |
| parent | Fix m_opermodes.so sending modes for unintroduced clients with oper autologin... (diff) | |
Cast to time_t for comparison because GCC complains about signdedness on 32-bit systems
Diffstat (limited to 'src/userprocess.cpp')
| -rw-r--r-- | src/userprocess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 9239d752e..c5ce39c5b 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -79,7 +79,7 @@ void InspIRCd::DoBackgroundUserStuff() break; } - if (curr->registered != REG_ALL && (Time() > (curr->age + curr->MyClass->registration_timeout))) + if (curr->registered != REG_ALL && (Time() > (time_t)(curr->age + curr->MyClass->registration_timeout))) { /* * registration timeout -- didnt send USER/NICK/HOST |
