1
0
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:
Adam
2010-08-17 19:27:37 -04:00
parent 2575008baa
commit e65d8b2f3d
195 changed files with 3133 additions and 3249 deletions
+1 -1
View File
@@ -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;
}