diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-01-23 13:54:16 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 16:53:06 +0000 |
| commit | 72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch) | |
| tree | fc0a965612b45478e3b6f1566641df12790a818d /modules/stats | |
| parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) | |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/stats')
| -rw-r--r-- | modules/stats/cs_fantasy_stats.cpp | 8 | ||||
| -rw-r--r-- | modules/stats/cs_fantasy_top.cpp | 12 | ||||
| -rw-r--r-- | modules/stats/irc2sql/irc2sql.h | 4 | ||||
| -rw-r--r-- | modules/stats/m_chanstats.cpp | 8 |
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> ¶ms); }; -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> ¶ms); }; -class CommandCSTop10 +class CommandCSTop10 final : public Command { public: @@ -57,7 +57,7 @@ public: void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms); }; -class CommandCSGTop +class CommandCSGTop final : public Command { public: @@ -69,7 +69,7 @@ public: void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms); }; -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; |
