diff options
Diffstat (limited to 'src/core/enc_old.cpp')
-rw-r--r-- | src/core/enc_old.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/enc_old.cpp b/src/core/enc_old.cpp index 68eece13c..307e42316 100644 --- a/src/core/enc_old.cpp +++ b/src/core/enc_old.cpp @@ -385,10 +385,10 @@ class EOld : public Module this->OnEncrypt(plaintext, buf); if (!password.compare(buf)) { - /* if we are NOT the first module in the list, + /* if we are NOT the first module in the list, * we want to re-encrypt the pass with the new encryption */ - if (Config.EncModuleList.front().compare(this->name)) + if (Config.EncModuleList.front() == this->name) { enc_encrypt(plaintext, password); } |