From 72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 23 Jan 2024 13:54:16 +0000 Subject: Mark types that have no inheritors as final. --- modules/commands/hs_request.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/commands/hs_request.cpp') 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 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; -- cgit