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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user