1
0
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:
Adam
2011-03-11 00:47:28 -05:00
parent 97c2e0957d
commit 1ee3d3d810
22 changed files with 891 additions and 668 deletions
+2 -1
View File
@@ -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;
}