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_restrictchans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_restrictchans.cpp') diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index 4ed4049c5..ccbc5592e 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -65,7 +65,7 @@ class ModuleRestrictChans : public Module { const std::string name = tag->getString("name"); if (name.empty()) - throw ModuleException("Empty at " + tag->getTagLocation()); + throw ModuleException("Empty at " + tag->source.str()); newallows.insert(name); } -- cgit v1.3.1-10-gc9f91