diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
commit | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch) | |
tree | d4d1fded5c14350eb003a665ca8de500a0440cea /modules/commands/cs_topic.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/cs_topic.cpp')
-rw-r--r-- | modules/commands/cs_topic.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/commands/cs_topic.cpp b/modules/commands/cs_topic.cpp index 24bf7ce17..582c6a1e7 100644 --- a/modules/commands/cs_topic.cpp +++ b/modules/commands/cs_topic.cpp @@ -12,7 +12,8 @@ #include "module.h" #include "modules/cs_mode.h" -class CommandCSSetKeepTopic : public Command +class CommandCSSetKeepTopic + : public Command { public: CommandCSSetKeepTopic(Module *creator, const Anope::string &cname = "chanserv/set/keeptopic") : Command(creator, cname, 2, 2) @@ -76,7 +77,8 @@ public: } }; -class CommandCSTopic : public Command +class CommandCSTopic + : public Command { ExtensibleRef<bool> topiclock; @@ -202,7 +204,8 @@ public: } }; -class CSTopic : public Module +class CSTopic + : public Module { CommandCSTopic commandcstopic; CommandCSSetKeepTopic commandcssetkeeptopic; |