summaryrefslogtreecommitdiff
path: root/modules/commands/cs_mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_mode.cpp')
-rw-r--r--modules/commands/cs_mode.cpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp
index 27cd08fcb..1cdec547a 100644
--- a/modules/commands/cs_mode.cpp
+++ b/modules/commands/cs_mode.cpp
@@ -12,7 +12,9 @@
#include "module.h"
#include "modules/cs_mode.h"
-struct ModeLockImpl : ModeLock, Serializable
+struct ModeLockImpl
+ : ModeLock
+ , Serializable
{
ModeLockImpl() : Serializable("ModeLock")
{
@@ -33,7 +35,8 @@ struct ModeLockImpl : ModeLock, Serializable
static Serializable* Unserialize(Serializable *obj, Serialize::Data &data);
};
-struct ModeLocksImpl : ModeLocks
+struct ModeLocksImpl
+ : ModeLocks
{
Serialize::Reference<ChannelInfo> ci;
Serialize::Checker<ModeList> mlocks;
@@ -241,7 +244,8 @@ Serializable* ModeLockImpl::Unserialize(Serializable *obj, Serialize::Data &data
return ml;
}
-class CommandCSMode : public Command
+class CommandCSMode
+ : public Command
{
bool CanSet(CommandSource &source, ChannelInfo *ci, ChannelMode *cm, bool self)
{
@@ -789,7 +793,8 @@ public:
static Anope::map<std::pair<bool, Anope::string> > modes;
-class CommandCSModes : public Command
+class CommandCSModes
+ : public Command
{
public:
CommandCSModes(Module *creator) : Command(creator, "chanserv/modes", 1, 2)
@@ -906,7 +911,8 @@ public:
}
};
-class CSMode : public Module
+class CSMode
+ : public Module
{
CommandCSMode commandcsmode;
CommandCSModes commandcsmodes;