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/os_akill.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/os_akill.cpp')
-rw-r--r-- | modules/commands/os_akill.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/commands/os_akill.cpp b/modules/commands/os_akill.cpp index 57adea53e..b97bfbe5d 100644 --- a/modules/commands/os_akill.cpp +++ b/modules/commands/os_akill.cpp @@ -13,7 +13,8 @@ static ServiceReference<XLineManager> akills("XLineManager", "xlinemanager/sgline"); -class AkillDelCallback : public NumberList +class AkillDelCallback + : public NumberList { CommandSource &source; unsigned deleted = 0; @@ -55,7 +56,8 @@ public: } }; -class CommandOSAKill : public Command +class CommandOSAKill + : public Command { private: void DoAdd(CommandSource &source, const std::vector<Anope::string> ¶ms) @@ -262,7 +264,8 @@ private: if (!mask.empty() && isdigit(mask[0]) && mask.find_first_not_of("1234567890,-") == Anope::string::npos) { - class ListCallback : public NumberList + class ListCallback + : public NumberList { CommandSource &source; ListFormatter &list; @@ -468,7 +471,8 @@ public: } }; -class OSAKill : public Module +class OSAKill + : public Module { CommandOSAKill commandosakill; |