summaryrefslogtreecommitdiff
path: root/modules/commands/cs_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/cs_suspend.cpp
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/cs_suspend.cpp')
-rw-r--r--modules/commands/cs_suspend.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/commands/cs_suspend.cpp b/modules/commands/cs_suspend.cpp
index 6d5322753..28f0debf4 100644
--- a/modules/commands/cs_suspend.cpp
+++ b/modules/commands/cs_suspend.cpp
@@ -12,7 +12,7 @@
#include "module.h"
#include "modules/suspend.h"
-struct CSSuspendInfo
+struct CSSuspendInfo final
: SuspendInfo
, Serializable
{
@@ -52,7 +52,7 @@ struct CSSuspendInfo
}
};
-class CommandCSSuspend
+class CommandCSSuspend final
: public Command
{
public:
@@ -145,7 +145,7 @@ public:
}
};
-class CommandCSUnSuspend
+class CommandCSUnSuspend final
: public Command
{
public:
@@ -197,7 +197,7 @@ public:
}
};
-class CSSuspend
+class CSSuspend final
: public Module
{
CommandCSSuspend commandcssuspend;
@@ -206,7 +206,7 @@ class CSSuspend
Serialize::Type suspend_type;
std::vector<Anope::string> show;
- struct trim
+ struct trim final
{
Anope::string operator()(Anope::string s) const
{