1
0
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:
Sadie Powell
2024-01-23 15:28:23 +00:00
parent 398d674cf4
commit a6a0f6c447
232 changed files with 1648 additions and 798 deletions
+10 -5
View File
@@ -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;