diff options
author | Adam <Adam@anope.org> | 2014-06-23 07:12:41 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-06-23 07:12:41 -0400 |
commit | 148b26f687ce85dc01e852a2358b03d493757ada (patch) | |
tree | f81ea553d0384ec6063eff45cfaff5aa92aaa1c9 /modules/commands/os_reload.cpp | |
parent | 0dba0692f9f88275b7d89d511bf22124217bc4c6 (diff) |
Mostly working language string rewrite with new format strings
Diffstat (limited to 'modules/commands/os_reload.cpp')
-rw-r--r-- | modules/commands/os_reload.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/commands/os_reload.cpp b/modules/commands/os_reload.cpp index b5705d611..217194e18 100644 --- a/modules/commands/os_reload.cpp +++ b/modules/commands/os_reload.cpp @@ -36,18 +36,13 @@ class CommandOSReload : public Command catch (const ConfigException &ex) { Log(this->owner) << "Error reloading configuration file: " << ex.GetReason(); - source.Reply(_("Error reloading configuration file: %s"), ex.GetReason().c_str()); + source.Reply(_("Error reloading configuration file: {0}"), ex.GetReason()); } } bool OnHelp(CommandSource &source, const Anope::string &subcommand) override { - this->SendSyntax(source); - source.Reply(" "); - source.Reply(_("Causes Services to reload the configuration file. Note that\n" - "some directives still need the restart of the Services to\n" - "take effect (such as Services' nicknames, activation of the\n" - "session limitation, etc.).")); + source.Reply(_("Causes Services to reload the configuration file.")); return true; } }; |