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/greet.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/greet.cpp')
-rw-r--r-- | modules/commands/greet.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/commands/greet.cpp b/modules/commands/greet.cpp index 6cbb24464..81a5e9c6d 100644 --- a/modules/commands/greet.cpp +++ b/modules/commands/greet.cpp @@ -11,7 +11,8 @@ #include "module.h" -class CommandBSSetGreet : public Command +class CommandBSSetGreet + : public Command { public: CommandBSSetGreet(Module *creator, const Anope::string &sname = "botserv/set/greet") : Command(creator, sname, 2, 2) @@ -75,7 +76,8 @@ public: } }; -class CommandNSSetGreet : public Command +class CommandNSSetGreet + : public Command { public: CommandNSSetGreet(Module *creator, const Anope::string &sname = "nickserv/set/greet", size_t min = 0) : Command(creator, sname, min, min + 1) @@ -136,7 +138,8 @@ public: } }; -class CommandNSSASetGreet : public CommandNSSetGreet +class CommandNSSASetGreet + : public CommandNSSetGreet { public: CommandNSSASetGreet(Module *creator) : CommandNSSetGreet(creator, "nickserv/saset/greet", 1) @@ -162,7 +165,8 @@ public: } }; -class Greet : public Module +class Greet + : public Module { /* channel setting for whether or not greet should be shown */ SerializableExtensibleItem<bool> bs_greet; |