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/hs_request.cpp | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/hs_request.cpp')
-rw-r--r-- | modules/commands/hs_request.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/commands/hs_request.cpp b/modules/commands/hs_request.cpp index 361e4a8f7..25f089647 100644 --- a/modules/commands/hs_request.cpp +++ b/modules/commands/hs_request.cpp @@ -20,7 +20,7 @@ static ServiceReference<MemoServService> memoserv("MemoServService", "MemoServ") static void req_send_memos(Module *me, CommandSource &source, const Anope::string &vIdent, const Anope::string &vHost); -struct HostRequest +struct HostRequest final : Serializable { Anope::string nick; @@ -64,7 +64,7 @@ struct HostRequest } }; -class CommandHSRequest +class CommandHSRequest final : public Command { bool isvalidchar(char c) @@ -187,7 +187,7 @@ public: } }; -class CommandHSActivate +class CommandHSActivate final : public Command { public: @@ -237,7 +237,7 @@ public: } }; -class CommandHSReject +class CommandHSReject final : public Command { public: @@ -294,7 +294,7 @@ public: } }; -class CommandHSWaiting +class CommandHSWaiting final : public Command { public: @@ -353,7 +353,7 @@ public: } }; -class HSRequest +class HSRequest final : public Module { CommandHSRequest commandhsrequest; |