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/modules/m_bcrypt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_bcrypt.cpp') 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; } -- cgit v1.3.1-10-gc9f91