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_ircv3_sts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_ircv3_sts.cpp') diff --git a/src/modules/m_ircv3_sts.cpp b/src/modules/m_ircv3_sts.cpp index 1c8a88e8d..3ece15889 100644 --- a/src/modules/m_ircv3_sts.cpp +++ b/src/modules/m_ircv3_sts.cpp @@ -167,11 +167,11 @@ class ModuleIRCv3STS : public Module const std::string host = tag->getString("host"); if (host.empty()) - throw ModuleException(" must contain a hostname, at " + tag->getTagLocation()); + throw ModuleException(" must contain a hostname, at " + tag->source.str()); unsigned int port = tag->getUInt("port", 0, 0, UINT16_MAX); if (!HasValidSSLPort(port)) - throw ModuleException(" must be a TLS port, at " + tag->getTagLocation()); + throw ModuleException(" must be a TLS port, at " + tag->source.str()); unsigned long duration = tag->getDuration("duration", 5*60, 60); bool preload = tag->getBool("preload"); -- cgit v1.3.1-10-gc9f91