1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 11:23: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
+8 -4
View File
@@ -12,7 +12,8 @@
#include "module.h"
#include "modules/sql.h"
class MySQLInterface : public SQL::Interface
class MySQLInterface
: public SQL::Interface
{
public:
MySQLInterface(Module *o) : SQL::Interface(o) { }
@@ -31,7 +32,8 @@ public:
};
class CommandCSStats : public Command
class CommandCSStats
: public Command
{
public:
CommandCSStats(Module *creator) : Command (creator, "chanserv/stats", 0, 2)
@@ -43,7 +45,8 @@ public:
void Execute(CommandSource &source, const std::vector<Anope::string> &params);
};
class CommandCSGStats : public Command
class CommandCSGStats
: public Command
{
public:
CommandCSGStats(Module *creator) : Command (creator, "chanserv/gstats", 0, 2)
@@ -58,7 +61,8 @@ public:
class CSStats;
static CSStats *me;
class CSStats : public Module
class CSStats
: public Module
{
CommandCSStats commandcsstats;
CommandCSGStats commandcsgstats;