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_delayjoin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_delayjoin.cpp') diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index 378935d68..d18a678ee 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -72,7 +72,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 hostcycle generates a join. */ -class JoinHook : public ClientProtocol::EventHook +class JoinHook final + : public ClientProtocol::EventHook { private: const IntExtItem& unjoined; -- cgit v1.3.1-10-gc9f91