summaryrefslogtreecommitdiff
path: root/modules/stats
diff options
context:
space:
mode:
Diffstat (limited to 'modules/stats')
-rw-r--r--modules/stats/cs_fantasy_stats.cpp8
-rw-r--r--modules/stats/cs_fantasy_top.cpp12
-rw-r--r--modules/stats/irc2sql/irc2sql.h4
-rw-r--r--modules/stats/m_chanstats.cpp8
4 files changed, 16 insertions, 16 deletions
diff --git a/modules/stats/cs_fantasy_stats.cpp b/modules/stats/cs_fantasy_stats.cpp
index a2595c08c..fedbd49b0 100644
--- a/modules/stats/cs_fantasy_stats.cpp
+++ b/modules/stats/cs_fantasy_stats.cpp
@@ -12,7 +12,7 @@
#include "module.h"
#include "modules/sql.h"
-class MySQLInterface
+class MySQLInterface final
: public SQL::Interface
{
public:
@@ -32,7 +32,7 @@ public:
};
-class CommandCSStats
+class CommandCSStats final
: public Command
{
public:
@@ -45,7 +45,7 @@ public:
void Execute(CommandSource &source, const std::vector<Anope::string> &params);
};
-class CommandCSGStats
+class CommandCSGStats final
: public Command
{
public:
@@ -61,7 +61,7 @@ public:
class CSStats;
static CSStats *me;
-class CSStats
+class CSStats final
: public Module
{
CommandCSStats commandcsstats;
diff --git a/modules/stats/cs_fantasy_top.cpp b/modules/stats/cs_fantasy_top.cpp
index 2c2282648..6b3b344c6 100644
--- a/modules/stats/cs_fantasy_top.cpp
+++ b/modules/stats/cs_fantasy_top.cpp
@@ -12,7 +12,7 @@
#include "module.h"
#include "modules/sql.h"
-class MySQLInterface
+class MySQLInterface final
: public SQL::Interface
{
public:
@@ -31,7 +31,7 @@ public:
}
};
-class CommandCSTop
+class CommandCSTop final
: public Command
{
public:
@@ -44,7 +44,7 @@ public:
void Execute(CommandSource &source, const std::vector<Anope::string> &params);
};
-class CommandCSTop10
+class CommandCSTop10 final
: public Command
{
public:
@@ -57,7 +57,7 @@ public:
void Execute(CommandSource &source, const std::vector<Anope::string> &params);
};
-class CommandCSGTop
+class CommandCSGTop final
: public Command
{
public:
@@ -69,7 +69,7 @@ public:
void Execute(CommandSource &source, const std::vector<Anope::string> &params);
};
-class CommandCSGTop10
+class CommandCSGTop10 final
: public Command
{
public:
@@ -84,7 +84,7 @@ public:
class CSTop;
static CSTop *me;
-class CSTop
+class CSTop final
: public Module
{
CommandCSTop commandcstop;
diff --git a/modules/stats/irc2sql/irc2sql.h b/modules/stats/irc2sql/irc2sql.h
index d6944525e..ea537a424 100644
--- a/modules/stats/irc2sql/irc2sql.h
+++ b/modules/stats/irc2sql/irc2sql.h
@@ -11,7 +11,7 @@
#include "module.h"
#include "modules/sql.h"
-class MySQLInterface
+class MySQLInterface final
: public SQL::Interface
{
public:
@@ -30,7 +30,7 @@ public:
}
};
-class IRC2SQL
+class IRC2SQL final
: public Module
{
ServiceReference<SQL::Provider> sql;
diff --git a/modules/stats/m_chanstats.cpp b/modules/stats/m_chanstats.cpp
index 408b1d0a6..db92689d7 100644
--- a/modules/stats/m_chanstats.cpp
+++ b/modules/stats/m_chanstats.cpp
@@ -9,7 +9,7 @@
#include "module.h"
#include "modules/sql.h"
-class CommandCSSetChanstats
+class CommandCSSetChanstats final
: public Command
{
public:
@@ -123,7 +123,7 @@ public:
}
};
-class CommandNSSASetChanstats
+class CommandNSSASetChanstats final
: public CommandNSSetChanstats
{
public:
@@ -147,7 +147,7 @@ public:
}
};
-class MySQLInterface
+class MySQLInterface final
: public SQL::Interface
{
public:
@@ -166,7 +166,7 @@ public:
}
};
-class MChanstats
+class MChanstats final
: public Module
{
SerializableExtensibleItem<bool> cs_stats, ns_stats;