aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_websocket.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_websocket.cpp
parentReplace ConfigTag::create with a public constructor. (diff)
downloadinspircd++-373bc208ff8f7eceecd944114cd729b5a348d918.tar.gz
inspircd++-373bc208ff8f7eceecd944114cd729b5a348d918.tar.bz2
inspircd++-373bc208ff8f7eceecd944114cd729b5a348d918.zip
Move FilePosition to fileutils.h and use in ConfigTag.
Diffstat (limited to 'src/modules/m_websocket.cpp')
-rw-r--r--src/modules/m_websocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_websocket.cpp b/src/modules/m_websocket.cpp
index 57887393c..556329be7 100644
--- a/src/modules/m_websocket.cpp
+++ b/src/modules/m_websocket.cpp
@@ -520,7 +520,7 @@ class ModuleWebSocket : public Module
// Ensure that we have the <wsorigin:allow> parameter.
const std::string allow = tag->getString("allow");
if (allow.empty())
- throw ModuleException("<wsorigin:allow> is a mandatory field, at " + tag->getTagLocation());
+ throw ModuleException("<wsorigin:allow> is a mandatory field, at " + tag->source.str());
config.allowedorigins.push_back(allow);
}