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