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_xop.cpp | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/cs_xop.cpp')
-rw-r--r-- | modules/commands/cs_xop.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/commands/cs_xop.cpp b/modules/commands/cs_xop.cpp index 7b0b8fd0c..835768849 100644 --- a/modules/commands/cs_xop.cpp +++ b/modules/commands/cs_xop.cpp @@ -17,7 +17,7 @@ namespace std::map<Anope::string, std::vector<Anope::string> > permissions; } -class XOPChanAccess +class XOPChanAccess final : public ChanAccess { public: @@ -85,7 +85,7 @@ public: } }; -class XOPAccessProvider +class XOPAccessProvider final : public AccessProvider { public: @@ -99,7 +99,7 @@ public: } }; -class CommandCSXOP +class CommandCSXOP final : public Command { private: @@ -294,7 +294,7 @@ private: /* Special case: is it a number/list? Only do search if it isn't. */ if (isdigit(mask[0]) && mask.find_first_not_of("1234567890,-") == Anope::string::npos) { - class XOPDelCallback + class XOPDelCallback final : public NumberList { CommandSource &source; @@ -398,7 +398,7 @@ private: if (!nick.empty() && nick.find_first_not_of("1234567890,-") == Anope::string::npos) { - class XOPListCallback + class XOPListCallback final : public NumberList { ListFormatter &list; @@ -600,7 +600,7 @@ public: } }; -class CSXOP +class CSXOP final : public Module { XOPAccessProvider accessprovider; |