aboutsummaryrefslogtreecommitdiffstats
path: root/modules/passforward.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/passforward.cpp')
-rw-r--r--modules/passforward.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/passforward.cpp b/modules/passforward.cpp
index 26610559e..e1b10c447 100644
--- a/modules/passforward.cpp
+++ b/modules/passforward.cpp
@@ -36,7 +36,7 @@ private:
public:
ModulePassForward()
: Module(VF_VENDOR, "Allows an account password to be forwarded to a services pseudoclient such as NickServ.")
- , accountapi(this)
+ , accountapi(weak_from_this())
{
}