diff options
| author | 2019-02-07 12:16:33 +0000 | |
|---|---|---|
| committer | 2019-02-07 12:16:33 +0000 | |
| commit | 641b2d07ab6868a9fa6726c1bc36cde80005e155 (patch) | |
| tree | 00f6f16cef0464477d4a890b3c21793557c2c537 /src/modules/extra/m_pgsql.cpp | |
| parent | ModeParser: remove fakederef. (diff) | |
ModuleManager: remove fakederef.
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 { |
