aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r--src/modules/m_dccallow.cpp7
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;