diff options
author | Adam <Adam@anope.org> | 2010-08-17 19:27:37 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-17 19:27:37 -0400 |
commit | e65d8b2f3dfdb40858259b3bb48ef6998c31e62f (patch) | |
tree | fd845bdef5664d025ab19c262ae2c5e9d23d7bb2 /modules/core/enc_sha256.cpp | |
parent | 2575008baa5c9d0ca789680da1a3b81dc74786f7 (diff) |
Rewrote the config reader to better handle invalid configs.
This prevents Anope from exploding when /os reload has errors.
Diffstat (limited to 'modules/core/enc_sha256.cpp')
-rw-r--r-- | modules/core/enc_sha256.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/enc_sha256.cpp b/modules/core/enc_sha256.cpp index 4fb076b8a..16a26a77b 100644 --- a/modules/core/enc_sha256.cpp +++ b/modules/core/enc_sha256.cpp @@ -302,7 +302,7 @@ class ESHA256 : public Module /* if we are NOT the first module in the list, * we want to re-encrypt the pass with the new encryption */ - if (!this->name.equals_ci(Config.EncModuleList.front())) + if (!this->name.equals_ci(Config->EncModuleList.front())) enc_encrypt(plaintext, password); return EVENT_ALLOW; } |