aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_pgsql.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-03-02 05:39:12 +0000
committerGravatar Sadie Powell2021-03-02 05:56:56 +0000
commit4e488cb54d72fb4a1caa580f6756a6f4687beaf6 (patch)
treeae74c5dc12685a23ede19a299753aed30c336960 /src/modules/extra/m_pgsql.cpp
parentMove aligned_storage to the utility directory and clean up. (diff)
Refactor classbase/CullResult into Cullable/Cullable::Result.
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
-rw-r--r--src/modules/extra/m_pgsql.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp
index d1d8d1403..f4c0fa8d6 100644
--- a/src/modules/extra/m_pgsql.cpp
+++ b/src/modules/extra/m_pgsql.cpp
@@ -200,11 +200,11 @@ class SQLConn : public SQL::Provider, public EventHandler
DelayReconnect();
}
- CullResult cull() override
+ Cullable::Result Cull() override
{
- this->SQL::Provider::cull();
+ this->SQL::Provider::Cull();
ServerInstance->Modules.DelService(*this);
- return this->EventHandler::cull();
+ return this->EventHandler::Cull();
}
~SQLConn()
@@ -579,7 +579,7 @@ class ModulePgSQL : public Module
{
for(ConnMap::iterator i = connections.begin(); i != connections.end(); i++)
{
- i->second->cull();
+ i->second->Cull();
delete i->second;
}
connections.clear();