From acccaa39641500b8a691db4136e6571102a438ed Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Thu, 10 Jul 2014 12:17:55 +0200 Subject: Remove current time parameter of the Timer constructor --- src/inspsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspsocket.cpp') diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index eb59bf4f1..494422075 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -107,7 +107,7 @@ BufferedSocketError BufferedSocket::BeginConnect(const irc::sockets::sockaddrs& if (!SocketEngine::AddFd(this, FD_WANT_NO_READ | FD_WANT_SINGLE_WRITE | FD_WRITE_WILL_BLOCK)) return I_ERR_NOMOREFDS; - this->Timeout = new SocketTimeout(this->GetFd(), this, timeout, ServerInstance->Time()); + this->Timeout = new SocketTimeout(this->GetFd(), this, timeout); ServerInstance->Timers.AddTimer(this->Timeout); ServerInstance->Logs->Log("SOCKET", LOG_DEBUG, "BufferedSocket::DoConnect success"); -- cgit v1.3.1-10-gc9f91