summaryrefslogtreecommitdiff
path: root/modules/commands/os_stats.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 13:54:16 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 16:53:06 +0000
commit72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch)
treefc0a965612b45478e3b6f1566641df12790a818d /modules/commands/os_stats.cpp
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/os_stats.cpp')
-rw-r--r--modules/commands/os_stats.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_stats.cpp b/modules/commands/os_stats.cpp
index de00b22f8..82c62ce6e 100644
--- a/modules/commands/os_stats.cpp
+++ b/modules/commands/os_stats.cpp
@@ -12,7 +12,7 @@
#include "module.h"
#include "modules/os_session.h"
-struct Stats
+struct Stats final
: Serializable
{
static Stats *me;
@@ -59,7 +59,7 @@ static int stats_count_servers(Server *s)
return count;
}
-class CommandOSStats
+class CommandOSStats final
: public Command
{
ServiceReference<XLineManager> akills, snlines, sqlines;
@@ -257,7 +257,7 @@ public:
}
};
-class OSStats
+class OSStats final
: public Module
{
CommandOSStats commandosstats;