From cbc5431d62e3fe9166f18395dce3ddf2af0906d3 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 28 Mar 2026 21:32:23 +0000 Subject: Switch modules from reference<> to shared_ptr<> and weak_ptr<>. --- modules/muteban.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/muteban.cpp') diff --git a/modules/muteban.cpp b/modules/muteban.cpp index 988d1cb9c..884969430 100644 --- a/modules/muteban.cpp +++ b/modules/muteban.cpp @@ -37,8 +37,8 @@ private: public: ModuleQuietBan() : Module(VF_VENDOR | VF_OPTCOMMON, "Adds extended ban m: (mute) which bans specific masks from speaking in a channel.") - , CTCTags::EventListener(this) - , extban(this, "mute", 'm') + , CTCTags::EventListener(weak_from_this()) + , extban(weak_from_this(), "mute", 'm') { } -- cgit v1.3.1-10-gc9f91