From c7e26c5f679465304fb7ffb27d131857a1030b2e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 11 Sep 2020 15:46:42 +0100 Subject: Remove nickserv/getpass and Anope::Decrypt. There is no point having these now plain text passwords are deprecated. --- include/anope.h | 8 -------- include/modules.h | 1 - 2 files changed, 9 deletions(-) (limited to 'include') diff --git a/include/anope.h b/include/anope.h index d4a351a93..cbcd3e85a 100644 --- a/include/anope.h +++ b/include/anope.h @@ -462,14 +462,6 @@ namespace Anope */ extern CoreExport void Encrypt(const Anope::string &src, Anope::string &dest); - /** Decrypts what is in 'src' to 'dest'. - * @param src The source string to decrypt - * @param dest The destination where the decrypted string is placed - * @return true if decryption was successful. This is usually not the case - * as most encryption methods we use are one way. - */ - extern CoreExport bool Decrypt(const Anope::string &src, Anope::string &dest); - /** Hashes a buffer with SipHash-2-4 * @param src The start of the buffer to hash * @param src_sz The total number of bytes in the buffer diff --git a/include/modules.h b/include/modules.h index bb387bb15..e385f4faa 100644 --- a/include/modules.h +++ b/include/modules.h @@ -405,7 +405,6 @@ class CoreExport Module : public Extensible * see src/encrypt.c for detailed informations */ virtual EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) { throw NotImplementedException(); } - virtual EventReturn OnDecrypt(const Anope::string &hashm, const Anope::string &src, Anope::string &dest) { throw NotImplementedException(); } /** Called on fantasy command * @param source The source of the command -- cgit