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_dccallow.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/modules/m_dccallow.cpp') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index fe1c2f0de..06f7b1176 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -72,14 +72,14 @@ static const char* const helptext[] = " Your DCCALLOW list will be deleted when you leave IRC." }; -class BannedFileList +class BannedFileList final { public: std::string filemask; std::string action; }; -class DCCAllow +class DCCAllow final { public: std::string nickname; @@ -105,7 +105,8 @@ dccallowlist* dl; typedef std::vector bannedfilelist; bannedfilelist bfl; -class DCCAllowExt : public SimpleExtItem +class DCCAllowExt final + : public SimpleExtItem { public: unsigned long maxentries; -- cgit v1.3.1-10-gc9f91