diff options
| author | 2014-07-10 12:17:55 +0200 | |
|---|---|---|
| committer | 2014-07-10 12:17:55 +0200 | |
| commit | acccaa39641500b8a691db4136e6571102a438ed (patch) | |
| tree | 5faed16f0fc7ac11566d6df19561abd3c3ad8c43 /src/inspsocket.cpp | |
| parent | Move the definition of Timer::Timer() into the source file from the header (diff) | |
Remove current time parameter of the Timer constructor
Diffstat (limited to 'src/inspsocket.cpp')
| -rw-r--r-- | src/inspsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |
