summaryrefslogtreecommitdiff
path: root/modules/commands/ns_suspend.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_suspend.cpp
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/ns_suspend.cpp')
-rw-r--r--modules/commands/ns_suspend.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/commands/ns_suspend.cpp b/modules/commands/ns_suspend.cpp
index c5cc2f2e5..97c69aae4 100644
--- a/modules/commands/ns_suspend.cpp
+++ b/modules/commands/ns_suspend.cpp
@@ -14,7 +14,7 @@
static ServiceReference<NickServService> nickserv("NickServService", "NickServ");
-struct NSSuspendInfo
+struct NSSuspendInfo final
: SuspendInfo
, Serializable
{
@@ -54,7 +54,7 @@ struct NSSuspendInfo
}
};
-class CommandNSSuspend
+class CommandNSSuspend final
: public Command
{
public:
@@ -153,7 +153,7 @@ public:
}
};
-class CommandNSUnSuspend
+class CommandNSUnSuspend final
: public Command
{
public:
@@ -203,7 +203,7 @@ public:
}
};
-class NSSuspend
+class NSSuspend final
: public Module
{
CommandNSSuspend commandnssuspend;
@@ -212,7 +212,7 @@ class NSSuspend
Serialize::Type suspend_type;
std::vector<Anope::string> show;
- struct trim
+ struct trim final
{
Anope::string operator()(Anope::string s) const
{