aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_vhost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_vhost.cpp')
-rw-r--r--src/modules/m_vhost.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp
index f4d813ce7..5539ebb86 100644
--- a/src/modules/m_vhost.cpp
+++ b/src/modules/m_vhost.cpp
@@ -98,15 +98,15 @@ class ModuleVHost final
{
std::string mask = tag->getString("host");
if (mask.empty())
- throw ModuleException("<vhost:host> is empty! at " + tag->source.str());
+ throw ModuleException(this, "<vhost:host> is empty! at " + tag->source.str());
std::string username = tag->getString("user");
if (username.empty())
- throw ModuleException("<vhost:user> is empty! at " + tag->source.str());
+ throw ModuleException(this, "<vhost:user> is empty! at " + tag->source.str());
std::string pass = tag->getString("pass");
if (pass.empty())
- throw ModuleException("<vhost:pass> is empty! at " + tag->source.str());
+ throw ModuleException(this, "<vhost:pass> is empty! at " + tag->source.str());
const std::string hash = tag->getString("hash", "plaintext", 1);
if (stdalgo::string::equalsci(hash, "plaintext"))