mirror of
https://github.com/anope/anope.git
synced 2026-07-05 21:13:13 +02:00
Improve the layout of types that inherit from another type.
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
|
||||
#include "module.h"
|
||||
|
||||
class CommandBSSet : public Command
|
||||
class CommandBSSet
|
||||
: public Command
|
||||
{
|
||||
public:
|
||||
CommandBSSet(Module *creator) : Command(creator, "botserv/set", 3, 3)
|
||||
@@ -64,10 +65,12 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class CommandBSSetBanExpire : public Command
|
||||
class CommandBSSetBanExpire
|
||||
: public Command
|
||||
{
|
||||
public:
|
||||
class UnbanTimer : public Timer
|
||||
class UnbanTimer
|
||||
: public Timer
|
||||
{
|
||||
Anope::string chname;
|
||||
Anope::string mask;
|
||||
@@ -151,7 +154,8 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class CommandBSSetPrivate : public Command
|
||||
class CommandBSSetPrivate
|
||||
: public Command
|
||||
{
|
||||
public:
|
||||
CommandBSSetPrivate(Module *creator, const Anope::string &sname = "botserv/set/private") : Command(creator, sname, 2, 2)
|
||||
@@ -201,7 +205,8 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class BSSet : public Module
|
||||
class BSSet
|
||||
: public Module
|
||||
{
|
||||
CommandBSSet commandbsset;
|
||||
CommandBSSetBanExpire commandbssetbanexpire;
|
||||
|
||||
Reference in New Issue
Block a user