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_seen.cpp | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/cs_seen.cpp')
-rw-r--r-- | modules/commands/cs_seen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/cs_seen.cpp b/modules/commands/cs_seen.cpp index 378d78105..99f44e9fd 100644 --- a/modules/commands/cs_seen.cpp +++ b/modules/commands/cs_seen.cpp @@ -22,7 +22,7 @@ static SeenInfo *FindInfo(const Anope::string &nick); typedef Anope::hash_map<SeenInfo *> database_map; database_map database; -struct SeenInfo +struct SeenInfo final : Serializable { Anope::string nick; @@ -110,7 +110,7 @@ static bool ShouldHide(const Anope::string &channel, User *u) return false; } -class CommandOSSeen +class CommandOSSeen final : public Command { public: @@ -182,7 +182,7 @@ public: } }; -class CommandSeen +class CommandSeen final : public Command { void SimpleSeen(CommandSource &source, const std::vector<Anope::string> ¶ms) @@ -371,7 +371,7 @@ public: } }; -class CSSeen +class CSSeen final : public Module { Serialize::Type seeninfo_type; |