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_kill.cpp | |
parent | 0dba0692f9f88275b7d89d511bf22124217bc4c6 (diff) |
Mostly working language string rewrite with new format strings
Diffstat (limited to 'modules/commands/os_kill.cpp')
-rw-r--r-- | modules/commands/os_kill.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/modules/commands/os_kill.cpp b/modules/commands/os_kill.cpp index 491e8b1c4..557b09901 100644 --- a/modules/commands/os_kill.cpp +++ b/modules/commands/os_kill.cpp @@ -27,9 +27,9 @@ class CommandOSKill : public Command User *u2 = User::Find(nick, true); if (u2 == NULL) - source.Reply(NICK_X_NOT_IN_USE, nick.c_str()); + source.Reply(_("\002{0}\002 isn't currently online."), nick); else if (u2->IsProtected() || u2->server == Me) - source.Reply(ACCESS_DENIED); + source.Reply(_("\002{0}\002 is protected and cannot be killed."), u2->nick); else { if (reason.empty()) @@ -43,11 +43,7 @@ class CommandOSKill : public Command bool OnHelp(CommandSource &source, const Anope::string &subcommand) override { - this->SendSyntax(source); - source.Reply(" "); - source.Reply(_("Allows you to kill a user from the network.\n" - "Parameters are the same as for the standard /KILL\n" - "command.")); + source.Reply(_("Allows you to kill a user from the network. Parameters are the same as for the standard /KILL command.")); return true; } }; |