mirror of
https://github.com/anope/anope.git
synced 2026-07-02 18:53:12 +02:00
Rewrote the config reader to better handle invalid configs.
This prevents Anope from exploding when /os reload has errors.
This commit is contained in:
@@ -54,7 +54,7 @@ class ENone : 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user