From 373bc208ff8f7eceecd944114cd729b5a348d918 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 3 Nov 2020 19:40:42 +0000 Subject: Move FilePosition to fileutils.h and use in ConfigTag. --- src/modules/m_websocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_websocket.cpp') 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 parameter. const std::string allow = tag->getString("allow"); if (allow.empty()) - throw ModuleException(" is a mandatory field, at " + tag->getTagLocation()); + throw ModuleException(" is a mandatory field, at " + tag->source.str()); config.allowedorigins.push_back(allow); } -- cgit v1.3.1-10-gc9f91