diff options
| author | 2021-03-17 05:58:47 +0000 | |
|---|---|---|
| committer | 2021-03-17 05:58:47 +0000 | |
| commit | 59ee026b3bfd78a67f3141bd362a2f11e9e2c311 (patch) | |
| tree | b46cca2fccd025d09a266deca2035eb9b9341597 /src/modules/m_dnsbl.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Pascalize Get in extension item classes.
Diffstat (limited to 'src/modules/m_dnsbl.cpp')
| -rw-r--r-- | src/modules/m_dnsbl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |
