From 641b2d07ab6868a9fa6726c1bc36cde80005e155 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 Feb 2019 12:16:33 +0000 Subject: ModuleManager: remove fakederef. --- src/modules/extra/m_pgsql.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra/m_pgsql.cpp') 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 { -- cgit v1.3.1-10-gc9f91