diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 13:54:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 16:53:06 +0000 |
commit | 72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch) | |
tree | fc0a965612b45478e3b6f1566641df12790a818d /modules/commands/cs_mode.cpp | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/cs_mode.cpp')
-rw-r--r-- | modules/commands/cs_mode.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp index 1cdec547a..05fb43c33 100644 --- a/modules/commands/cs_mode.cpp +++ b/modules/commands/cs_mode.cpp @@ -12,7 +12,7 @@ #include "module.h" #include "modules/cs_mode.h" -struct ModeLockImpl +struct ModeLockImpl final : ModeLock , Serializable { @@ -35,7 +35,7 @@ struct ModeLockImpl static Serializable* Unserialize(Serializable *obj, Serialize::Data &data); }; -struct ModeLocksImpl +struct ModeLocksImpl final : ModeLocks { Serialize::Reference<ChannelInfo> ci; @@ -244,7 +244,7 @@ Serializable* ModeLockImpl::Unserialize(Serializable *obj, Serialize::Data &data return ml; } -class CommandCSMode +class CommandCSMode final : public Command { bool CanSet(CommandSource &source, ChannelInfo *ci, ChannelMode *cm, bool self) @@ -793,7 +793,7 @@ public: static Anope::map<std::pair<bool, Anope::string> > modes; -class CommandCSModes +class CommandCSModes final : public Command { public: @@ -911,7 +911,7 @@ public: } }; -class CSMode +class CSMode final : public Module { CommandCSMode commandcsmode; |