aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_chanlog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chanlog.cpp')
-rw-r--r--src/modules/m_chanlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp
index 84cea2d0d..c0be029b1 100644
--- a/src/modules/m_chanlog.cpp
+++ b/src/modules/m_chanlog.cpp
@@ -51,7 +51,7 @@ class ModuleChanLog final
std::string snomasks = tag->getString("snomasks");
if (channel.empty() || snomasks.empty())
{
- throw ModuleException("Malformed chanlog tag at " + tag->source.str());
+ throw ModuleException(this, "Malformed chanlog tag at " + tag->source.str());
}
for (const auto& snomask : snomasks)