summaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-12-30 20:51:34 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-12-30 20:51:34 +0100
commitf3f443f085e922fa2bb5393c46d02722ad05879d (patch)
tree124e0603dbe80a76159a4536c6e7feca3f3a2629 /src/usermanager.cpp
parent37db441fb55f954f25fb2846e803b5c9527c21bb (diff)
Fix signon time of clients being off by dns_timeout seconds
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r--src/usermanager.cpp2
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);