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/ns_info.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/ns_info.cpp')
-rw-r--r-- | modules/commands/ns_info.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/commands/ns_info.cpp b/modules/commands/ns_info.cpp index 567d095f2..10bfda6f4 100644 --- a/modules/commands/ns_info.cpp +++ b/modules/commands/ns_info.cpp @@ -11,7 +11,8 @@ #include "module.h" -class CommandNSInfo : public Command +class CommandNSInfo + : public Command { public: CommandNSInfo(Module *creator) : Command(creator, "nickserv/info", 0, 2) @@ -134,7 +135,8 @@ public: }; -class CommandNSSetHide : public Command +class CommandNSSetHide + : public Command { public: CommandNSSetHide(Module *creator, const Anope::string &sname = "nickserv/set/hide", size_t min = 2) : Command(creator, sname, min, min + 1) @@ -232,7 +234,8 @@ public: } }; -class CommandNSSASetHide : public CommandNSSetHide +class CommandNSSASetHide + : public CommandNSSetHide { public: CommandNSSASetHide(Module *creator) : CommandNSSetHide(creator, "nickserv/saset/hide", 3) @@ -261,7 +264,8 @@ public: } }; -class NSInfo : public Module +class NSInfo + : public Module { CommandNSInfo commandnsinfo; |