diff options
author | Adam <Adam@anope.org> | 2011-03-11 00:47:28 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-11 00:47:28 -0500 |
commit | 1ee3d3d81034c2e2d8c1bf55db8963a50e35f363 (patch) | |
tree | d8952ff4d27e144eedd63a056971dfc2b1af5411 /modules/core/os_reload.cpp | |
parent | 97c2e0957d32c87e1055041e43eb13a4a26d0765 (diff) |
Added os_config and support for including additional configuration files.
Diffstat (limited to 'modules/core/os_reload.cpp')
-rw-r--r-- | modules/core/os_reload.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/os_reload.cpp b/modules/core/os_reload.cpp index 0a3e26ccc..46e3686a2 100644 --- a/modules/core/os_reload.cpp +++ b/modules/core/os_reload.cpp @@ -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; } |