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_register.cpp | |
| parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) | |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/ns_register.cpp')
| -rw-r--r-- | modules/commands/ns_register.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp index a5281b4be..a597a9c13 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -13,7 +13,8 @@ static bool SendRegmail(User *u, const NickAlias *na, BotInfo *bi); -class CommandNSConfirm : public Command +class CommandNSConfirm + : public Command { public: CommandNSConfirm(Module *creator) : Command(creator, "nickserv/confirm", 1, 2) @@ -114,7 +115,8 @@ public: } }; -class CommandNSRegister : public Command +class CommandNSRegister + : public Command { public: CommandNSRegister(Module *creator) : Command(creator, "nickserv/register", 1, 2) @@ -309,7 +311,8 @@ public: } }; -class CommandNSResend : public Command +class CommandNSResend + : public Command { public: CommandNSResend(Module *creator) : Command(creator, "nickserv/resend", 0, 0) @@ -366,7 +369,8 @@ public: } }; -class NSRegister : public Module +class NSRegister + : public Module { CommandNSRegister commandnsregister; CommandNSConfirm commandnsconfirm; |
