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_alias.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_alias.cpp') diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 58328af88..0cf6e4a08 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -88,11 +88,11 @@ class ModuleAlias : public Module Alias a; a.AliasedCommand = tag->getString("text"); if (a.AliasedCommand.empty()) - throw ModuleException(" is empty! at " + tag->getTagLocation()); + throw ModuleException(" is empty! at " + tag->source.str()); tag->readString("replace", a.ReplaceFormat, true); if (a.ReplaceFormat.empty()) - throw ModuleException(" is empty! at " + tag->getTagLocation()); + throw ModuleException(" is empty! at " + tag->source.str()); a.RequiredNick = tag->getString("requires"); a.ULineOnly = tag->getBool("uline"); -- cgit v1.3.1-10-gc9f91