From 52cc8a418307ae7a551d23e6bd2d367b544e7bf9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jan 2022 17:12:42 +0000 Subject: Refactor CoreException and ModuleException. --- src/modules/m_sasl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_sasl.cpp') diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp index 7aefb000c..eed0e73c0 100644 --- a/src/modules/m_sasl.cpp +++ b/src/modules/m_sasl.cpp @@ -430,7 +430,7 @@ class ModuleSASL final const std::string target = tag->getString("target"); if (target.empty()) - throw ModuleException(" must be set to the name of your services server!"); + throw ModuleException(this, " must be set to the name of your services server!"); cap.requiressl = tag->getBool("requiressl"); sasl_target = target; -- cgit v1.3.1-10-gc9f91