1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 02:43:13 +02:00

Improve the layout of types that inherit from another type.

This commit is contained in:
Sadie Powell
2024-01-23 15:28:23 +00:00
parent 398d674cf4
commit a6a0f6c447
232 changed files with 1648 additions and 798 deletions
+6 -3
View File
@@ -12,7 +12,8 @@
#include "module.h"
#include "modules/cs_mode.h"
class CommandCSList : public Command
class CommandCSList
: public Command
{
public:
CommandCSList(Module *creator) : Command(creator, "chanserv/list", 1, 2)
@@ -170,7 +171,8 @@ public:
}
};
class CommandCSSetPrivate : public Command
class CommandCSSetPrivate
: public Command
{
public:
CommandCSSetPrivate(Module *creator, const Anope::string &cname = "chanserv/set/private") : Command(creator, cname, 2, 2)
@@ -238,7 +240,8 @@ public:
}
};
class CSList : public Module
class CSList
: public Module
{
CommandCSList commandcslist;
CommandCSSetPrivate commandcssetprivate;