summaryrefslogtreecommitdiff
path: root/modules/commands/cs_akick.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
commita6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch)
treed4d1fded5c14350eb003a665ca8de500a0440cea /modules/commands/cs_akick.cpp
parent398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff)
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/cs_akick.cpp')
-rw-r--r--modules/commands/cs_akick.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/commands/cs_akick.cpp b/modules/commands/cs_akick.cpp
index 78666e79b..99c1dd2ee 100644
--- a/modules/commands/cs_akick.cpp
+++ b/modules/commands/cs_akick.cpp
@@ -11,7 +11,8 @@
#include "module.h"
-class CommandCSAKick : public Command
+class CommandCSAKick
+ : public Command
{
void Enforce(CommandSource &source, ChannelInfo *ci)
{
@@ -203,7 +204,8 @@ class CommandCSAKick : public Command
/* Special case: is it a number/list? Only do search if it isn't. */
if (isdigit(mask[0]) && mask.find_first_not_of("1234567890,-") == Anope::string::npos)
{
- class AkickDelCallback : public NumberList
+ class AkickDelCallback
+ : public NumberList
{
CommandSource &source;
ChannelInfo *ci;
@@ -280,7 +282,8 @@ class CommandCSAKick : public Command
if (!mask.empty() && isdigit(mask[0]) && mask.find_first_not_of("1234567890,-") == Anope::string::npos)
{
- class AkickListCallback : public NumberList
+ class AkickListCallback
+ : public NumberList
{
ListFormatter &list;
ChannelInfo *ci;
@@ -525,7 +528,8 @@ public:
}
};
-class CSAKick : public Module
+class CSAKick
+ : public Module
{
CommandCSAKick commandcsakick;