diff options
| author | 2026-03-28 21:32:23 +0000 | |
|---|---|---|
| committer | 2026-03-29 00:42:15 +0000 | |
| commit | cbc5431d62e3fe9166f18395dce3ddf2af0906d3 (patch) | |
| tree | 48a87fc27dc4826ce0caf4071e2060a9ff9e24c5 /modules/ircv3_chghost.cpp | |
| parent | Move service code from base to its own header. (diff) | |
Switch modules from reference<> to shared_ptr<> and weak_ptr<>.
Diffstat (limited to 'modules/ircv3_chghost.cpp')
| -rw-r--r-- | modules/ircv3_chghost.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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()) { } |
