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/os_akill.cpp | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/os_akill.cpp')
-rw-r--r-- | modules/commands/os_akill.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/os_akill.cpp b/modules/commands/os_akill.cpp index b97bfbe5d..3f5e9c7d2 100644 --- a/modules/commands/os_akill.cpp +++ b/modules/commands/os_akill.cpp @@ -13,7 +13,7 @@ static ServiceReference<XLineManager> akills("XLineManager", "xlinemanager/sgline"); -class AkillDelCallback +class AkillDelCallback final : public NumberList { CommandSource &source; @@ -56,7 +56,7 @@ public: } }; -class CommandOSAKill +class CommandOSAKill final : public Command { private: @@ -264,7 +264,7 @@ private: if (!mask.empty() && isdigit(mask[0]) && mask.find_first_not_of("1234567890,-") == Anope::string::npos) { - class ListCallback + class ListCallback final : public NumberList { CommandSource &source; @@ -471,7 +471,7 @@ public: } }; -class OSAKill +class OSAKill final : public Module { CommandOSAKill commandosakill; |