From 59ee026b3bfd78a67f3141bd362a2f11e9e2c311 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 17 Mar 2021 05:58:47 +0000 Subject: Pascalize Get in extension item classes. --- src/modules/m_dnsbl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_dnsbl.cpp') diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 28a09034b..f5697c199 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -89,7 +89,7 @@ class DNSBLResolver : public DNS::Request return; } - int i = countExt.get(them); + int i = countExt.Get(them); if (i) countExt.set(them, i - 1); @@ -263,7 +263,7 @@ class DNSBLResolver : public DNS::Request if (!them || them->client_sa != theirsa) return; - int i = countExt.get(them); + int i = countExt.Get(them); if (i) countExt.set(them, i - 1); @@ -454,7 +454,7 @@ class ModuleDNSBL : public Module, public Stats::EventListener if (!myclass->config->readString("dnsbl", dnsbl)) return MOD_RES_PASSTHRU; - std::string* match = nameExt.get(user); + std::string* match = nameExt.Get(user); if (!match) { ServerInstance->Logs.Log("CONNECTCLASS", LOG_DEBUG, "The %s connect class is not suitable as it requires a DNSBL mark", @@ -474,7 +474,7 @@ class ModuleDNSBL : public Module, public Stats::EventListener ModResult OnCheckReady(LocalUser *user) override { - if (countExt.get(user)) + if (countExt.Get(user)) return MOD_RES_DENY; return MOD_RES_PASSTHRU; } -- cgit v1.3.1-10-gc9f91