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_cloaking.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules/m_cloaking.cpp') diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index e9c85e21b..946f4a230 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -49,7 +49,7 @@ static const char base32[] = "0123456789abcdefghijklmnopqrstuv"; // The minimum length of a cloak key. static const size_t minkeylen = 30; -struct CloakInfo +struct CloakInfo final { // The method used for cloaking users. CloakMode mode; @@ -82,7 +82,8 @@ struct CloakInfo typedef std::vector CloakList; -class CloakExtItem : public SimpleExtItem +class CloakExtItem final + : public SimpleExtItem { public: CloakExtItem(Module* Creator) -- cgit v1.3.1-10-gc9f91