diff options
| author | 2022-01-07 17:12:42 +0000 | |
|---|---|---|
| committer | 2022-01-07 17:16:50 +0000 | |
| commit | 52cc8a418307ae7a551d23e6bd2d367b544e7bf9 (patch) | |
| tree | 9fff020964190f33174e78ff6201381be577d0b3 /src/modules/m_chanlog.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
| download | inspircd++-52cc8a418307ae7a551d23e6bd2d367b544e7bf9.tar.gz inspircd++-52cc8a418307ae7a551d23e6bd2d367b544e7bf9.tar.bz2 inspircd++-52cc8a418307ae7a551d23e6bd2d367b544e7bf9.zip | |
Refactor CoreException and ModuleException.
Diffstat (limited to 'src/modules/m_chanlog.cpp')
| -rw-r--r-- | src/modules/m_chanlog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp index 84cea2d0d..c0be029b1 100644 --- a/src/modules/m_chanlog.cpp +++ b/src/modules/m_chanlog.cpp @@ -51,7 +51,7 @@ class ModuleChanLog final std::string snomasks = tag->getString("snomasks"); if (channel.empty() || snomasks.empty()) { - throw ModuleException("Malformed chanlog tag at " + tag->source.str()); + throw ModuleException(this, "Malformed chanlog tag at " + tag->source.str()); } for (const auto& snomask : snomasks) |
