summaryrefslogtreecommitdiff
path: root/modules/stats/cs_fantasy_top.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
commita6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch)
treed4d1fded5c14350eb003a665ca8de500a0440cea /modules/stats/cs_fantasy_top.cpp
parent398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff)
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/stats/cs_fantasy_top.cpp')
-rw-r--r--modules/stats/cs_fantasy_top.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/modules/stats/cs_fantasy_top.cpp b/modules/stats/cs_fantasy_top.cpp
index ee1e5656f..2c2282648 100644
--- a/modules/stats/cs_fantasy_top.cpp
+++ b/modules/stats/cs_fantasy_top.cpp
@@ -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) { }
@@ -30,7 +31,8 @@ public:
}
};
-class CommandCSTop : public Command
+class CommandCSTop
+ : public Command
{
public:
CommandCSTop(Module *creator) : Command (creator, "chanserv/top", 0, 2)
@@ -42,7 +44,8 @@ public:
void Execute(CommandSource &source, const std::vector<Anope::string> &params);
};
-class CommandCSTop10 : public Command
+class CommandCSTop10
+ : public Command
{
public:
CommandCSTop10(Module *creator) : Command (creator, "chanserv/top10", 0, 2)
@@ -54,7 +57,8 @@ public:
void Execute(CommandSource &source, const std::vector<Anope::string> &params);
};
-class CommandCSGTop : public Command
+class CommandCSGTop
+ : public Command
{
public:
CommandCSGTop(Module *creator) : Command (creator, "chanserv/gtop", 0, 1)
@@ -65,7 +69,8 @@ public:
void Execute(CommandSource &source, const std::vector<Anope::string> &params);
};
-class CommandCSGTop10 : public Command
+class CommandCSGTop10
+ : public Command
{
public:
CommandCSGTop10(Module *creator) : Command (creator, "chanserv/gtop10", 0, 1)
@@ -79,7 +84,8 @@ public:
class CSTop;
static CSTop *me;
-class CSTop : public Module
+class CSTop
+ : public Module
{
CommandCSTop commandcstop;
CommandCSGTop commandcsgtop;