mirror of
https://github.com/anope/anope.git
synced 2026-07-04 16:33:13 +02:00
Improve the layout of types that inherit from another type.
This commit is contained in:
+4
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user