aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_pgsql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
-rw-r--r--src/modules/extra/m_pgsql.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp
index 8702ab8a4..a35061b1a 100644
--- a/src/modules/extra/m_pgsql.cpp
+++ b/src/modules/extra/m_pgsql.cpp
@@ -537,6 +537,11 @@ class ModulePgSQL : public Module
ConnMap connections;
ReconnectTimer* retimer = nullptr;
+ ModulePgSQL()
+ : Module(VF_VENDOR, "PostgreSQL Service Provider module for all other m_sql* modules, uses v2 of the SQL API")
+ {
+ }
+
~ModulePgSQL()
{
delete retimer;
@@ -611,11 +616,6 @@ class ModulePgSQL : public Module
}
}
}
-
- Version GetVersion() override
- {
- return Version("PostgreSQL Service Provider module for all other m_sql* modules, uses v2 of the SQL API", VF_VENDOR);
- }
};
bool ReconnectTimer::Tick(time_t time)