1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 15:23:12 +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/os_session.h"
struct Stats : Serializable
struct Stats
: Serializable
{
static Stats *me;
@@ -58,7 +59,8 @@ static int stats_count_servers(Server *s)
return count;
}
class CommandOSStats : public Command
class CommandOSStats
: public Command
{
ServiceReference<XLineManager> akills, snlines, sqlines;
private:
@@ -255,7 +257,8 @@ public:
}
};
class OSStats : public Module
class OSStats
: public Module
{
CommandOSStats commandosstats;
Serialize::Type stats_type;