summaryrefslogtreecommitdiff
path: root/modules/commands/cs_log.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_log.cpp
parent398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff)
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/commands/cs_log.cpp')
-rw-r--r--modules/commands/cs_log.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/modules/commands/cs_log.cpp b/modules/commands/cs_log.cpp
index b955255f4..ebc64f8c7 100644
--- a/modules/commands/cs_log.cpp
+++ b/modules/commands/cs_log.cpp
@@ -12,7 +12,9 @@
#include "module.h"
#include "modules/cs_log.h"
-struct LogSettingImpl : LogSetting, Serializable
+struct LogSettingImpl
+ : LogSetting
+ , Serializable
{
LogSettingImpl() : Serializable("LogSetting")
{
@@ -77,7 +79,8 @@ struct LogSettingImpl : LogSetting, Serializable
}
};
-struct LogSettingsImpl : LogSettings
+struct LogSettingsImpl
+ : LogSettings
{
LogSettingsImpl(Extensible *) { }
@@ -97,7 +100,8 @@ struct LogSettingsImpl : LogSettings
}
};
-class CommandCSLog : public Command
+class CommandCSLog
+ : public Command
{
public:
CommandCSLog(Module *creator) : Command(creator, "chanserv/log", 1, 4)
@@ -281,7 +285,8 @@ public:
}
};
-class CSLog : public Module
+class CSLog
+ : public Module
{
ServiceReference<MemoServService> MSService;
CommandCSLog commandcslog;