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_recover.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/ns_recover.cpp')
-rw-r--r-- | modules/commands/ns_recover.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/commands/ns_recover.cpp b/modules/commands/ns_recover.cpp index 7836949a6..52c58d841 100644 --- a/modules/commands/ns_recover.cpp +++ b/modules/commands/ns_recover.cpp @@ -23,7 +23,8 @@ public: Anope::string to; }; -class NSRecoverRequest : public IdentifyRequest +class NSRecoverRequest + : public IdentifyRequest { CommandSource source; Command *cmd; @@ -141,7 +142,8 @@ public: } }; -class CommandNSRecover : public Command +class CommandNSRecover + : public Command { public: CommandNSRecover(Module *creator) : Command(creator, "nickserv/recover", 1, 2) @@ -221,7 +223,8 @@ public: } }; -class NSRecover : public Module +class NSRecover + : public Module { CommandNSRecover commandnsrecover; PrimitiveExtensibleItem<NSRecoverInfo> recover; |