summaryrefslogtreecommitdiff
path: root/modules/commands/os_dns.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/commands/os_dns.cpp
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/os_dns.cpp')
-rw-r--r--modules/commands/os_dns.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp
index 003d22305..79f4bf43e 100644
--- a/modules/commands/os_dns.cpp
+++ b/modules/commands/os_dns.cpp
@@ -19,7 +19,7 @@ static Serialize::Checker<std::vector<DNSServer *> > dns_servers("DNSServer");
static std::map<Anope::string, std::list<time_t> > server_quit_times;
-struct DNSZone
+struct DNSZone final
: Serializable
{
Anope::string name;
@@ -87,7 +87,7 @@ struct DNSZone
}
};
-class DNSServer
+class DNSServer final
: public Serializable
{
Anope::string server_name;
@@ -206,7 +206,7 @@ public:
}
};
-class CommandOSDNS
+class CommandOSDNS final
: public Command
{
void DisplayPoolState(CommandSource &source)
@@ -719,7 +719,7 @@ public:
}
};
-class ModuleDNS
+class ModuleDNS final
: public Module
{
Serialize::Type zone_type, dns_type;