diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/anope.h | 8 | ||||
| -rw-r--r-- | include/event.h | 9 |
2 files changed, 0 insertions, 17 deletions
diff --git a/include/anope.h b/include/anope.h index c298d5d86..f3f05cb15 100644 --- a/include/anope.h +++ b/include/anope.h @@ -474,14 +474,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); - /** Returns a sequence of data formatted as the format argument specifies. ** After the format parameter, the function expects at least as many ** additional arguments as specified in format. diff --git a/include/event.h b/include/event.h index 7705e44e3..b71eef738 100644 --- a/include/event.h +++ b/include/event.h @@ -327,15 +327,6 @@ namespace Event virtual EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) anope_abstract; }; - struct CoreExport Decrypt : Events - { - static constexpr const char *NAME = "decrypt"; - - using Events::Events; - - virtual EventReturn OnDecrypt(const Anope::string &hashm, const Anope::string &src, Anope::string &dest) anope_abstract; - }; - struct CoreExport CreateBot : Events { static constexpr const char *NAME = "createbot"; |
