summaryrefslogtreecommitdiff
path: root/modules/commands/os_defcon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/os_defcon.cpp')
-rw-r--r--modules/commands/os_defcon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/os_defcon.cpp b/modules/commands/os_defcon.cpp
index 5ef148faa..5664f5ffb 100644
--- a/modules/commands/os_defcon.cpp
+++ b/modules/commands/os_defcon.cpp
@@ -28,7 +28,7 @@ enum DefconLevel
bool DefConModesSet = false;
-struct DefconConfig
+struct DefconConfig final
{
std::vector<std::bitset<32> > DefCon;
std::set<Anope::string> DefConModesOn, DefConModesOff;
@@ -105,7 +105,7 @@ static ServiceReference<GlobalService> GlobalService("GlobalService", "Global");
static Timer *timeout;
-class DefConTimeout
+class DefConTimeout final
: public Timer
{
int level;
@@ -145,7 +145,7 @@ public:
}
};
-class CommandOSDefcon
+class CommandOSDefcon final
: public Command
{
void SendLevels(CommandSource &source)
@@ -246,7 +246,7 @@ public:
}
};
-class OSDefcon
+class OSDefcon final
: public Module
{
ServiceReference<SessionService> session_service;