diff options
author | Adam <Adam@anope.org> | 2010-07-05 16:14:17 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-07-05 16:14:17 -0400 |
commit | f71d5b4d3ae2fc5db3f2e96c1cc3cceb1a103c2e (patch) | |
tree | 52f20f6d8c4e281a63018616a8ede9422f650cae /src/core/enc_none.cpp | |
parent | de1bf10690570477f5d8cd126b30f81300c1376a (diff) |
Removed OnEncryptInPlace, although it currently causes no problems it is just redundant.
Diffstat (limited to 'src/core/enc_none.cpp')
-rw-r--r-- | src/core/enc_none.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/enc_none.cpp b/src/core/enc_none.cpp index 9e618baed..58ccdaff1 100644 --- a/src/core/enc_none.cpp +++ b/src/core/enc_none.cpp @@ -18,7 +18,6 @@ class ENone : public Module this->SetType(ENCRYPTION); ModuleManager::Attach(I_OnEncrypt, this); - ModuleManager::Attach(I_OnEncryptInPlace, this); ModuleManager::Attach(I_OnDecrypt, this); ModuleManager::Attach(I_OnCheckPassword, this); } @@ -34,11 +33,6 @@ class ENone : public Module return EVENT_ALLOW; } - EventReturn OnEncryptInPlace(std::string &buf) - { - return this->OnEncrypt(buf, buf); - } - EventReturn OnDecrypt(const std::string &hashm, const std::string &src, std::string &dest) { if (hashm != "plain") |