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/bs_set.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/bs_set.cpp')
-rw-r--r-- | modules/commands/bs_set.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/commands/bs_set.cpp b/modules/commands/bs_set.cpp index 17d3eac1e..b2ffa24cb 100644 --- a/modules/commands/bs_set.cpp +++ b/modules/commands/bs_set.cpp @@ -11,7 +11,8 @@ #include "module.h" -class CommandBSSet : public Command +class CommandBSSet + : public Command { public: CommandBSSet(Module *creator) : Command(creator, "botserv/set", 3, 3) @@ -64,10 +65,12 @@ public: } }; -class CommandBSSetBanExpire : public Command +class CommandBSSetBanExpire + : public Command { public: - class UnbanTimer : public Timer + class UnbanTimer + : public Timer { Anope::string chname; Anope::string mask; @@ -151,7 +154,8 @@ public: } }; -class CommandBSSetPrivate : public Command +class CommandBSSetPrivate + : public Command { public: CommandBSSetPrivate(Module *creator, const Anope::string &sname = "botserv/set/private") : Command(creator, sname, 2, 2) @@ -201,7 +205,8 @@ public: } }; -class BSSet : public Module +class BSSet + : public Module { CommandBSSet commandbsset; CommandBSSetBanExpire commandbssetbanexpire; |