aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_bcrypt.cpp
diff options
context:
space:
mode:
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;
}