diff options
| author | 2014-12-30 20:51:34 +0100 | |
|---|---|---|
| committer | 2014-12-30 20:51:34 +0100 | |
| commit | f3f443f085e922fa2bb5393c46d02722ad05879d (patch) | |
| tree | 124e0603dbe80a76159a4536c6e7feca3f3a2629 /src/usermanager.cpp | |
| parent | Fix User::age being incorrectly used in some places instead of signon (diff) | |
Fix signon time of clients being off by dns_timeout seconds
Diffstat (limited to 'src/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 076277a33..1918b5c4c 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -72,7 +72,7 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs (*(this->clientlist))[New->nick] = New; New->registered = REG_NONE; - New->signon = ServerInstance->Time() + ServerInstance->Config->dns_timeout; + New->signon = ServerInstance->Time(); New->lastping = 1; ServerInstance->Users->AddLocalClone(New); |
