summaryrefslogtreecommitdiff
path: root/include/modes.h
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 /include/modes.h
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modes.h b/include/modes.h
index b87d1e5b5..f1c116f1c 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -232,7 +232,7 @@ public:
};
/* The status a user has on a channel (+v, +h, +o) etc */
-class CoreExport ChannelStatus
+class CoreExport ChannelStatus final
{
Anope::string modes;
public:
@@ -305,7 +305,7 @@ public:
* This also contains a mode stacker that will combine multiple modes and set
* them on a channel or user at once
*/
-class CoreExport ModeManager
+class CoreExport ModeManager final
{
public:
@@ -401,7 +401,7 @@ public:
/** Represents a mask set on a channel (b/e/I)
*/
-class CoreExport Entry
+class CoreExport Entry final
{
Anope::string name;
Anope::string mask;