From 0ba3bb8ade1311bd21c2285dae7aab228a14c650 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 09:28:31 +0000 Subject: Change to use InspIRCd::Time() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4874 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_pgsql.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 0389ddcd5..e4319aed5 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -670,7 +670,7 @@ SQLConn::SQLConn(InspIRCd* SI, ModulePgSQL* self, const SQLhost& hi) strlcpy(this->host, dbhost.c_str(), MAXBUF); strlcpy(this->IP, dbhost.c_str(), MAXBUF); this->port = dbport; - idle = TIME; + idle = this->Instance->Time(); this->ClosePending = false; @@ -806,7 +806,7 @@ bool SQLConn::DoConnectedPoll() /* We just read stuff from the server, that counts as it being alive * so update the idle-since time :p */ - idle = TIME; + idle = this->Instance->Time(); if(PQisBusy(sql)) { -- cgit v1.2.3