From dec5875aca7a2e0c281388db2f25d195ad9b2a3d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 4 Oct 2021 17:07:51 +0100 Subject: Apply the final keyword to all module classes where appropriate. --- src/modules/m_gateway.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_gateway.cpp') 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 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 -- cgit v1.3.1-10-gc9f91