mirror of
https://github.com/anope/anope.git
synced 2026-07-05 22:13:13 +02:00
Added os_config and support for including additional configuration files.
This commit is contained in:
@@ -29,13 +29,14 @@ class CommandOSReload : public Command
|
||||
delete Config;
|
||||
Config = newconfig;
|
||||
FOREACH_MOD(I_OnReload, OnReload(false));
|
||||
source.Reply(_("Services' configuration file has been reloaded."));
|
||||
}
|
||||
catch (const ConfigException &ex)
|
||||
{
|
||||
Log() << "Error reloading configuration file: " << ex.GetReason();
|
||||
source.Reply(_("Error reloading confguration file: ") + ex.GetReason());
|
||||
}
|
||||
|
||||
source.Reply(_("Services' configuration file has been reloaded."));
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user