diff options
| author | 2022-01-07 17:12:42 +0000 | |
|---|---|---|
| committer | 2022-01-07 17:16:50 +0000 | |
| commit | 52cc8a418307ae7a551d23e6bd2d367b544e7bf9 (patch) | |
| tree | 9fff020964190f33174e78ff6201381be577d0b3 /src/listmode.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Refactor CoreException and ModuleException.
Diffstat (limited to 'src/listmode.cpp')
| -rw-r--r-- | src/listmode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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("<maxlist:chan> is empty, at %s", c->source.str().c_str())); + throw ModuleException(creator, InspIRCd::Format("<maxlist:chan> is empty, at %s", c->source.str().c_str())); if (limit.mask == "*" || limit.mask == "#*") seen_default = true; |
