aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_bcrypt.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-07 17:12:42 +0000
committerGravatar Sadie Powell2022-01-07 17:16:50 +0000
commit52cc8a418307ae7a551d23e6bd2d367b544e7bf9 (patch)
tree9fff020964190f33174e78ff6201381be577d0b3 /src/modules/m_bcrypt.cpp
parentMerge branch 'insp3' into master. (diff)
Refactor CoreException and ModuleException.
Diffstat (limited to 'src/modules/m_bcrypt.cpp')
-rw-r--r--src/modules/m_bcrypt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_bcrypt.cpp b/src/modules/m_bcrypt.cpp
index 5768f42a8..c6eebbb96 100644
--- a/src/modules/m_bcrypt.cpp
+++ b/src/modules/m_bcrypt.cpp
@@ -37,7 +37,7 @@ class BCryptProvider final
char salt[32];
if (!_crypt_gensalt_blowfish_rn("$2a$", rounds, entropy, sizeof(entropy), salt, sizeof(salt)))
- throw ModuleException("Could not generate salt - this should never happen");
+ throw ModuleException(creator, "Could not generate salt - this should never happen");
return salt;
}