From 0babd8c0783242fc647cdcdfefb399c099e367ad Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 15 Mar 2014 15:38:09 +0100 Subject: Change allocation of InspIRCd::Timers to be physically part of the object containing it --- 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 d15a1b6a5..f22645168 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -111,7 +111,7 @@ BufferedSocketError BufferedSocket::BeginConnect(const irc::sockets::sockaddrs& return I_ERR_NOMOREFDS; this->Timeout = new SocketTimeout(this->GetFd(), this, timeout, ServerInstance->Time()); - ServerInstance->Timers->AddTimer(this->Timeout); + ServerInstance->Timers.AddTimer(this->Timeout); ServerInstance->Logs->Log("SOCKET", LOG_DEBUG, "BufferedSocket::DoConnect success"); return I_ERR_NONE; -- cgit v1.3.1-10-gc9f91