summaryrefslogtreecommitdiff
path: root/include/commands.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/commands.h
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'include/commands.h')
-rw-r--r--include/commands.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/commands.h b/include/commands.h
index 5f15da345..7c1e62686 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -15,13 +15,13 @@
#include "anope.h"
#include "channels.h"
-struct CommandGroup
+struct CommandGroup final
{
Anope::string name, description;
};
/* Used in BotInfo::commands */
-struct CommandInfo
+struct CommandInfo final
{
typedef Anope::map<CommandInfo> map;
@@ -47,7 +47,7 @@ struct CoreExport CommandReply
};
/* The source for a command */
-class CoreExport CommandSource
+class CoreExport CommandSource final
{
/* The nick executing the command */
Anope::string nick;