From cb45f8e59686788d59bb3024e078187c07e644a0 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 14:55:18 +0000 Subject: This wont build. :( m_pgsql.cpp:1125: error: cannot convert `char*' to `PGconn*' for argument `1' to `size_t PQescapeStringConn(PGconn*, char*, const char*, size_t, int*)' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4813 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_pgsql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index b9eb309db..9c27a28f7 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -595,7 +595,7 @@ public: SQLConn* newconn; /* The conversion succeeded, we were given an IP and we can give it straight to SQLConn */ - newconn = new SQLConn(this, Srv, hi); + newconn = new SQLConn(ServerInstance, this, Srv, hi); connections.insert(std::make_pair(hi.id, newconn)); } -- cgit v1.2.3