1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 20:03:14 +02:00

Do not apply module changes on rehash until after the new config has been applied. Fix renaming opertypes on reload.

This commit is contained in:
Adam
2014-04-06 23:01:10 -04:00
parent 1f8dec4c24
commit 43219d3906
4 changed files with 50 additions and 33 deletions
+3 -1
View File
@@ -126,8 +126,10 @@ void Anope::HandleSignal()
try
{
Configuration::Conf *new_config = new Configuration::Conf();
delete Config;
Configuration::Conf *old = Config;
Config = new_config;
Config->Post(old);
delete old;
}
catch (const ConfigException &ex)
{