diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-12-30 20:51:34 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-12-30 20:51:34 +0100 |
commit | f3f443f085e922fa2bb5393c46d02722ad05879d (patch) | |
tree | 124e0603dbe80a76159a4536c6e7feca3f3a2629 | |
parent | 37db441fb55f954f25fb2846e803b5c9527c21bb (diff) |
Fix signon time of clients being off by dns_timeout seconds
-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); |