summaryrefslogtreecommitdiff
path: root/modules/commands/ns_resetpass.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_resetpass.cpp
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/ns_resetpass.cpp')
-rw-r--r--modules/commands/ns_resetpass.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/ns_resetpass.cpp b/modules/commands/ns_resetpass.cpp
index 73759a251..1120cb84a 100644
--- a/modules/commands/ns_resetpass.cpp
+++ b/modules/commands/ns_resetpass.cpp
@@ -13,7 +13,7 @@
static bool SendResetEmail(User *u, const NickAlias *na, BotInfo *bi);
-class CommandNSResetPass
+class CommandNSResetPass final
: public Command
{
public:
@@ -55,13 +55,13 @@ public:
}
};
-struct ResetInfo
+struct ResetInfo final
{
Anope::string code;
time_t time;
};
-class NSResetPass
+class NSResetPass final
: public Module
{
CommandNSResetPass commandnsresetpass;