From f71d5b4d3ae2fc5db3f2e96c1cc3cceb1a103c2e Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 5 Jul 2010 16:14:17 -0400 Subject: Removed OnEncryptInPlace, although it currently causes no problems it is just redundant. --- include/extern.h | 1 - include/modules.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index ce73cad17..e8019a0b4 100644 --- a/include/extern.h +++ b/include/extern.h @@ -158,7 +158,6 @@ E void HostServSyncVhosts(NickAlias *na); /**** encrypt.c ****/ E int enc_encrypt(const std::string &src, std::string &dest); -E int enc_encrypt_in_place(std::string &buf); E int enc_decrypt(const std::string &src, std::string &dest); E int enc_check_password(std::string &plaintext, std::string &password); diff --git a/include/modules.h b/include/modules.h index 502093081..cb5e6dd28 100644 --- a/include/modules.h +++ b/include/modules.h @@ -439,7 +439,6 @@ class CoreExport Module * see src/encrypt.c for detailed informations */ virtual EventReturn OnEncrypt(const std::string &src, std::string &dest) { return EVENT_CONTINUE; } - virtual EventReturn OnEncryptInPlace(std::string &buf) { return EVENT_CONTINUE; } virtual EventReturn OnDecrypt(const std::string &hashm, const std::string &src, std::string &dest) { return EVENT_CONTINUE; } virtual EventReturn OnCheckPassword(const std::string &hashm, std::string &plaintext, std::string &password) { return EVENT_CONTINUE; } @@ -1106,7 +1105,7 @@ enum Implementation I_OnReload, I_OnPreServerConnect, I_OnNewServer, I_OnServerConnect, I_OnPreUplinkSync, I_OnServerDisconnect, I_OnPreCommandRun, I_OnPreCommand, I_OnPostCommand, I_OnPreDatabaseExpire, I_OnPreRestart, I_OnRestart, I_OnPreShutdown, I_OnShutdown, I_OnSignal, I_OnServerQuit, I_OnTopicUpdated, - I_OnEncrypt, I_OnEncryptInPlace, I_OnEncryptCheckLen, I_OnDecrypt, I_OnCheckPassword, + I_OnEncrypt, I_OnEncryptCheckLen, I_OnDecrypt, I_OnCheckPassword, I_OnChannelModeSet, I_OnChannelModeUnset, I_OnUserModeSet, I_OnUserModeUnset, I_OnChannelModeAdd, I_OnUserModeAdd, I_OnMLock, I_OnUnMLock, I_OnServerSync, I_OnUplinkSync, I_END -- cgit