diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/anope.h | 8 | ||||
| -rw-r--r-- | include/modules.h | 1 |
2 files changed, 0 insertions, 9 deletions
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 |
