summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-07 20:01:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-07 20:01:11 +0000
commit9db7f13b0c1b5cc310d4fd0021f9288fbdade97b (patch)
treeef05889d28e43405c0f15cd06e5addbc41dd6050 /src/modules/extra
parent2458d30566c36b23a204327872961645634ef57b (diff)
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
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_pgsql.cpp4
1 files changed, 2 insertions, 2 deletions
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);