diff options
| author | 2021-10-04 17:07:51 +0100 | |
|---|---|---|
| committer | 2021-10-04 17:39:05 +0100 | |
| commit | dec5875aca7a2e0c281388db2f25d195ad9b2a3d (patch) | |
| tree | 0f8f741801677daa23e7f399282b64ecde137ad0 /src/modules/m_dccallow.cpp | |
| parent | Mark all message tag provider classes as final. (diff) | |
Apply the final keyword to all module classes where appropriate.
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -rw-r--r-- | src/modules/m_dccallow.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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; bannedfilelist bfl; -class DCCAllowExt : public SimpleExtItem<dccallowlist> +class DCCAllowExt final + : public SimpleExtItem<dccallowlist> { public: unsigned long maxentries; |
