aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_gateway.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-10-04 17:07:51 +0100
committerGravatar Sadie Powell2021-10-04 17:39:05 +0100
commitdec5875aca7a2e0c281388db2f25d195ad9b2a3d (patch)
tree0f8f741801677daa23e7f399282b64ecde137ad0 /src/modules/m_gateway.cpp
parentMark all message tag provider classes as final. (diff)
Apply the final keyword to all module classes where appropriate.
Diffstat (limited to 'src/modules/m_gateway.cpp')
-rw-r--r--src/modules/m_gateway.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_gateway.cpp b/src/modules/m_gateway.cpp
index 76e753683..d6d25179a 100644
--- a/src/modules/m_gateway.cpp
+++ b/src/modules/m_gateway.cpp
@@ -38,7 +38,7 @@
typedef std::vector<std::string> MaskList;
// Encapsulates information about an ident host.
-class IdentHost
+class IdentHost final
{
private:
MaskList hostmasks;
@@ -75,7 +75,7 @@ class IdentHost
};
// Encapsulates information about a WebIRC host.
-class WebIRCHost
+class WebIRCHost final
{
private:
MaskList hostmasks;
@@ -202,7 +202,7 @@ class CommandHexIP final
}
};
-class GatewayExtBan
+class GatewayExtBan final
: public ExtBan::MatchingBase
{
public:
@@ -314,7 +314,7 @@ class CommandWebIRC final
}
};
-class ModuleGateway
+class ModuleGateway final
: public Module
, public WebIRC::EventListener
, public Whois::EventListener