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_httpd_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_httpd_config.cpp') diff --git a/src/modules/m_httpd_config.cpp b/src/modules/m_httpd_config.cpp index 826768d8a..2a05a81bb 100644 --- a/src/modules/m_httpd_config.cpp +++ b/src/modules/m_httpd_config.cpp @@ -50,7 +50,7 @@ class ModuleHttpConfig : public Module, public HTTPRequestEventListener for (auto& [_, tag] : ServerInstance->Config->config_data) { // Show the location of the tag in a comment. - buffer << "# " << tag->getTagLocation() << std::endl + buffer << "# " << tag->source.str() << std::endl << '<' << tag->tag << ' '; // Print out the tag with all keys aligned vertically. -- cgit v1.3.1-10-gc9f91