diff options
| author | 2020-11-03 19:40:42 +0000 | |
|---|---|---|
| committer | 2020-11-03 19:54:13 +0000 | |
| commit | 373bc208ff8f7eceecd944114cd729b5a348d918 (patch) | |
| tree | 3fc6cc31e70a00cb9670b3724e0c94256f763385 /src/modules/m_websocket.cpp | |
| parent | Replace ConfigTag::create with a public constructor. (diff) | |
| download | inspircd++-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.cpp | 2 |
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); } |
