From 9db7f13b0c1b5cc310d4fd0021f9288fbdade97b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 7 Jan 2007 20:01:11 +0000 Subject: Add TTL stuff to dns system (pass it to inherited objects) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 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 b596244a6..79630d416 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -95,7 +95,7 @@ class SQLresolver : public Resolver { } - virtual void OnLookupComplete(const std::string &result); + virtual void OnLookupComplete(const std::string &result, unsigned int ttl); virtual void OnError(ResolverError e, const std::string &errormessage) { @@ -1240,7 +1240,7 @@ public: /* move this here to use AddConn, rather that than having the whole * module above SQLConn, since this is buggin me right now :/ */ -void SQLresolver::OnLookupComplete(const std::string &result) +void SQLresolver::OnLookupComplete(const std::string &result, unsigned int ttl) { host.ip = result; ((ModulePgSQL*)mod)->AddConn(host); -- cgit v1.2.3