summaryrefslogtreecommitdiff
path: root/modules/m_dnsbl.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 13:54:16 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 16:53:06 +0000
commit72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch)
treefc0a965612b45478e3b6f1566641df12790a818d /modules/m_dnsbl.cpp
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/m_dnsbl.cpp')
-rw-r--r--modules/m_dnsbl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/m_dnsbl.cpp b/modules/m_dnsbl.cpp
index d89f56fdd..47aba3876 100644
--- a/modules/m_dnsbl.cpp
+++ b/modules/m_dnsbl.cpp
@@ -14,9 +14,9 @@ using namespace DNS;
static ServiceReference<XLineManager> akills("XLineManager", "xlinemanager/sgline");
static ServiceReference<Manager> dnsmanager("DNS::Manager", "dns/manager");
-struct Blacklist
+struct Blacklist final
{
- struct Reply
+ struct Reply final
{
int code = 0;
Anope::string reason;
@@ -39,7 +39,7 @@ struct Blacklist
}
};
-class DNSBLResolver
+class DNSBLResolver final
: public Request
{
Reference<User> user;
@@ -95,7 +95,7 @@ public:
}
};
-class ModuleDNSBL
+class ModuleDNSBL final
: public Module
{
std::vector<Blacklist> blacklists;