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/ircv3_chghost.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/ircv3_chghost.cpp') diff --git a/modules/ircv3_chghost.cpp b/modules/ircv3_chghost.cpp index f2f0771ac..58ac96226 100644 --- a/modules/ircv3_chghost.cpp +++ b/modules/ircv3_chghost.cpp @@ -47,9 +47,9 @@ class ModuleIRCv3ChgHost final public: ModuleIRCv3ChgHost() : Module(VF_VENDOR, "Provides the IRCv3 chghost client capability.") - , cap(this, "chghost") - , protoevprov(this, "CHGHOST") - , monitorapi(this) + , cap(weak_from_this(), "chghost") + , protoevprov(weak_from_this(), "CHGHOST") + , monitorapi(weak_from_this()) { } -- cgit v1.3.1-10-gc9f91