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:
+3
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user