summaryrefslogtreecommitdiff
path: root/modules/commands/ns_list.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/ns_list.cpp
parent398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff)
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/ns_list.cpp')
-rw-r--r--modules/commands/ns_list.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/commands/ns_list.cpp b/modules/commands/ns_list.cpp
index ed72c27f2..f32cad2f5 100644
--- a/modules/commands/ns_list.cpp
+++ b/modules/commands/ns_list.cpp
@@ -11,7 +11,8 @@
#include "module.h"
-class CommandNSList : public Command
+class CommandNSList
+ : public Command
{
public:
CommandNSList(Module *creator) : Command(creator, "nickserv/list", 1, 2)
@@ -176,7 +177,8 @@ public:
};
-class CommandNSSetPrivate : public Command
+class CommandNSSetPrivate
+ : public Command
{
public:
CommandNSSetPrivate(Module *creator, const Anope::string &sname = "nickserv/set/private", size_t min = 1) : Command(creator, sname, min, min + 1)
@@ -241,7 +243,8 @@ public:
}
};
-class CommandNSSASetPrivate : public CommandNSSetPrivate
+class CommandNSSASetPrivate
+ : public CommandNSSetPrivate
{
public:
CommandNSSASetPrivate(Module *creator) : CommandNSSetPrivate(creator, "nickserv/saset/private", 2)
@@ -270,7 +273,8 @@ public:
};
-class NSList : public Module
+class NSList
+ : public Module
{
CommandNSList commandnslist;