From 4095eea8737c4877e1dc380c789dab8ca50d41a0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 1 Oct 2021 06:23:26 +0100 Subject: Mark all event hook classes as final. --- src/modules/m_auditorium.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_auditorium.cpp') diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp index dd9cb4ffb..985ac2eea 100644 --- a/src/modules/m_auditorium.cpp +++ b/src/modules/m_auditorium.cpp @@ -49,7 +49,8 @@ namespace * This is not the same as OnUserJoin() because that runs only when a real join happens but this runs also when a module * such as delayjoin or hostcycle generates a join. */ -class JoinHook : public ClientProtocol::EventHook +class JoinHook final + : public ClientProtocol::EventHook { ModuleAuditorium* const parentmod; bool active; -- cgit v1.3.1-10-gc9f91