summaryrefslogtreecommitdiff
path: root/modules/m_dnsbl.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
commita6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch)
treed4d1fded5c14350eb003a665ca8de500a0440cea /modules/m_dnsbl.cpp
parent398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff)
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/m_dnsbl.cpp')
-rw-r--r--modules/m_dnsbl.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/m_dnsbl.cpp b/modules/m_dnsbl.cpp
index bf36c34c2..d89f56fdd 100644
--- a/modules/m_dnsbl.cpp
+++ b/modules/m_dnsbl.cpp
@@ -39,7 +39,8 @@ struct Blacklist
}
};
-class DNSBLResolver : public Request
+class DNSBLResolver
+ : public Request
{
Reference<User> user;
Blacklist blacklist;
@@ -94,7 +95,8 @@ public:
}
};
-class ModuleDNSBL : public Module
+class ModuleDNSBL
+ : public Module
{
std::vector<Blacklist> blacklists;
std::set<cidr> exempts;