summaryrefslogtreecommitdiff
path: root/modules/commands/os_sxline.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_sxline.cpp
parenta6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff)
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/commands/os_sxline.cpp')
-rw-r--r--modules/commands/os_sxline.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp
index 015d52660..3acaa5c35 100644
--- a/modules/commands/os_sxline.cpp
+++ b/modules/commands/os_sxline.cpp
@@ -11,7 +11,7 @@
#include "module.h"
-class SXLineDelCallback
+class SXLineDelCallback final
: public NumberList
{
XLineManager *xlm;
@@ -120,7 +120,7 @@ private:
if (!mask.empty() && isdigit(mask[0]) && mask.find_first_not_of("1234567890,-") == Anope::string::npos)
{
- class SXLineListCallback
+ class SXLineListCallback final
: public NumberList
{
XLineManager *xlm;
@@ -259,7 +259,7 @@ public:
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override = 0;
};
-class CommandOSSNLine
+class CommandOSSNLine final
: public CommandOSSXLineBase
{
XLineManager *xlm() override
@@ -484,7 +484,7 @@ public:
}
};
-class CommandOSSQLine
+class CommandOSSQLine final
: public CommandOSSXLineBase
{
XLineManager *xlm() override
@@ -715,7 +715,7 @@ public:
}
};
-class OSSXLine
+class OSSXLine final
: public Module
{
CommandOSSNLine commandossnline;