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/listmode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/listmode.cpp') diff --git a/src/listmode.cpp b/src/listmode.cpp index 551f061c0..ecd63484f 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -77,7 +77,7 @@ void ListModeBase::DoRehash() ListLimit limit(c->getString("chan", "*", 1), c->getUInt("limit", DEFAULT_LIST_SIZE)); if (limit.mask.empty()) - throw ModuleException(InspIRCd::Format(" is empty, at %s", c->getTagLocation().c_str())); + throw ModuleException(InspIRCd::Format(" is empty, at %s", c->source.str().c_str())); if (limit.mask == "*" || limit.mask == "#*") seen_default = true; -- cgit v1.3.1-10-gc9f91