diff options
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
| -rw-r--r-- | src/modules/extra/m_pgsql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index db9c8ac09..8fe81bc03 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -187,7 +187,7 @@ class SQLConn : public SQL::Provider, public EventHandler CullResult cull() override { this->SQL::Provider::cull(); - ServerInstance->Modules->DelService(*this); + ServerInstance->Modules.DelService(*this); return this->EventHandler::cull(); } @@ -554,7 +554,7 @@ class ModulePgSQL : public Module { SQLConn* conn = new SQLConn(this, i->second); conns.insert(std::make_pair(id, conn)); - ServerInstance->Modules->AddService(*conn); + ServerInstance->Modules.AddService(*conn); } else { |
