summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-11 19:37:11 +0000
committerSadie Powell <sadie@witchery.services>2024-03-11 19:39:47 +0000
commit02355546ff4a76a10049f9c7f03d0b778b247dba (patch)
tree072b150c8f46b0038f1d21b423ca57319cbde338 /include
parent6ad3430ac41fdd3669d1f4d23e8a0a3adba22c2b (diff)
Reject registrations and password changes if password encryption fails.
Diffstat (limited to 'include')
-rw-r--r--include/anope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/anope.h b/include/anope.h
index c4a2079aa..9145b7337 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -470,7 +470,7 @@ namespace Anope
* @param src The source string to encrypt
* @param dest The destination where the encrypted string is placed
*/
- extern CoreExport void Encrypt(const Anope::string &src, Anope::string &dest);
+ extern CoreExport bool Encrypt(const Anope::string &src, Anope::string &dest);
/** Hashes a buffer with SipHash-2-4
* @param src The start of the buffer to hash