From 30e5eb6be11e5b6f69cd18bc6eafd9abdb526134 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 1 Oct 2021 05:15:29 +0100 Subject: Mark all command classes as final. --- src/modules/m_watch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_watch.cpp') diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index a4fc3c06a..e498bf79b 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -44,7 +44,8 @@ enum ERR_INVALIDWATCHNICK = 942 }; -class CommandWatch : public SplitCommand +class CommandWatch final + : public SplitCommand { // Additional penalty for /WATCH commands that request a list from the server static const unsigned int ListPenalty = 4000; -- cgit v1.3.1-10-gc9f91