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/extra/m_argon2.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/extra/m_argon2.cpp')
| -rw-r--r-- | src/modules/extra/m_argon2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_argon2.cpp b/src/modules/extra/m_argon2.cpp index 2a5341cd8..80289286e 100644 --- a/src/modules/extra/m_argon2.cpp +++ b/src/modules/extra/m_argon2.cpp @@ -144,7 +144,7 @@ class HashArgon2 final config.version); if (argonResult != ARGON2_OK) - throw ModuleException("Argon2 hashing failed!: " + std::string(argon2_error_message(argonResult))); + throw ModuleException(creator, "Argon2 hashing failed: " + std::string(argon2_error_message(argonResult))); // This isn't the raw version, but we don't have // the facilities to juggle around the extra state required |
