From 52cc8a418307ae7a551d23e6bd2d367b544e7bf9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jan 2022 17:12:42 +0000 Subject: Refactor CoreException and ModuleException. --- 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 8b19840f1..3981abad5 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -73,7 +73,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->source.str().c_str())); + throw ModuleException(creator, 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