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_remove.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_remove.cpp')
| -rw-r--r-- | src/modules/m_remove.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 46a39d3e2..767073094 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -39,7 +39,8 @@ /** Base class for /FPART and /REMOVE */ -class RemoveBase : public Command +class RemoveBase + : public Command { bool& supportnokicks; ChanModeReference& nokicksmode; @@ -164,7 +165,8 @@ class RemoveBase : public Command } }; -class CommandRemove : public RemoveBase +class CommandRemove final + : public RemoveBase { public: CommandRemove(Module* Creator, bool& snk, ChanModeReference& nkm) @@ -180,7 +182,8 @@ class CommandRemove : public RemoveBase } }; -class CommandFpart : public RemoveBase +class CommandFpart final + : public RemoveBase { public: CommandFpart(Module* Creator, bool& snk, ChanModeReference& nkm) @@ -196,7 +199,7 @@ class CommandFpart : public RemoveBase } }; -class ModuleRemove +class ModuleRemove final : public Module , public ISupport::EventListener { |
