summaryrefslogtreecommitdiff
path: root/modules/commands/os_mode.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/os_mode.cpp
parent398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff)
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/os_mode.cpp')
-rw-r--r--modules/commands/os_mode.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/commands/os_mode.cpp b/modules/commands/os_mode.cpp
index b432d4c15..7140f5246 100644
--- a/modules/commands/os_mode.cpp
+++ b/modules/commands/os_mode.cpp
@@ -11,7 +11,8 @@
#include "module.h"
-class CommandOSMode : public Command
+class CommandOSMode
+ : public Command
{
public:
CommandOSMode(Module *creator) : Command(creator, "operserv/mode", 2, 3)
@@ -135,7 +136,8 @@ public:
}
};
-class CommandOSUMode : public Command
+class CommandOSUMode
+ : public Command
{
public:
CommandOSUMode(Module *creator) : Command(creator, "operserv/umode", 2, 2)
@@ -173,7 +175,8 @@ public:
}
};
-class OSMode : public Module
+class OSMode
+ : public Module
{
CommandOSMode commandosmode;
CommandOSUMode commandosumode;