summaryrefslogtreecommitdiff
path: root/modules/commands/ns_recover.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/ns_recover.cpp
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/ns_recover.cpp')
-rw-r--r--modules/commands/ns_recover.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/ns_recover.cpp b/modules/commands/ns_recover.cpp
index 52c58d841..7460dbd33 100644
--- a/modules/commands/ns_recover.cpp
+++ b/modules/commands/ns_recover.cpp
@@ -16,14 +16,14 @@ static ServiceReference<NickServService> nickserv("NickServService", "NickServ")
typedef std::map<Anope::string, ChannelStatus> NSRecoverInfo;
-class NSRecoverSvsnick
+class NSRecoverSvsnick final
{
public:
Reference<User> from;
Anope::string to;
};
-class NSRecoverRequest
+class NSRecoverRequest final
: public IdentifyRequest
{
CommandSource source;
@@ -142,7 +142,7 @@ public:
}
};
-class CommandNSRecover
+class CommandNSRecover final
: public Command
{
public:
@@ -223,7 +223,7 @@ public:
}
};
-class NSRecover
+class NSRecover final
: public Module
{
CommandNSRecover commandnsrecover;