aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_customtitle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_customtitle.cpp')
-rw-r--r--src/modules/m_customtitle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp
index ef9c0ae1c..9833c70f7 100644
--- a/src/modules/m_customtitle.cpp
+++ b/src/modules/m_customtitle.cpp
@@ -118,11 +118,11 @@ class ModuleCustomTitle final
{
std::string name = tag->getString("name", "", 1);
if (name.empty())
- throw ModuleException("<title:name> is empty at " + tag->source.str());
+ throw ModuleException(this, "<title:name> is empty at " + tag->source.str());
std::string pass = tag->getString("password");
if (pass.empty())
- throw ModuleException("<title:password> is empty at " + tag->source.str());
+ throw ModuleException(this, "<title:password> is empty at " + tag->source.str());
const std::string hash = tag->getString("hash", "plaintext", 1);
if (stdalgo::string::equalsci(hash, "plaintext"))