aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chanlog.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-03 19:40:42 +0000
committerGravatar Sadie Powell2020-11-03 19:54:13 +0000
commit373bc208ff8f7eceecd944114cd729b5a348d918 (patch)
tree3fc6cc31e70a00cb9670b3724e0c94256f763385 /src/modules/m_chanlog.cpp
parentReplace ConfigTag::create with a public constructor. (diff)
Move FilePosition to fileutils.h and use in ConfigTag.
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 8250a5d98..860067e5b 100644
--- a/src/modules/m_chanlog.cpp
+++ b/src/modules/m_chanlog.cpp
@@ -49,7 +49,7 @@ class ModuleChanLog : public Module
std::string snomasks = tag->getString("snomasks");
if (channel.empty() || snomasks.empty())
{
- throw ModuleException("Malformed chanlog tag at " + tag->getTagLocation());
+ throw ModuleException("Malformed chanlog tag at " + tag->source.str());
}
for (std::string::const_iterator it = snomasks.begin(); it != snomasks.end(); it++)