diff options
author | Robby- <robby@chat.be> | 2013-09-29 08:55:32 +0200 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-29 15:42:22 -0400 |
commit | ed06609ae1b100997981a3c91bcf46d7a31bc7bd (patch) | |
tree | 183d41ecc968d0385d3f01b61fc67c5aa492f36a /modules/commands/ns_suspend.cpp | |
parent | 32a57150ecddc75b1bfd2efc185575b76431cbff (diff) |
NickServ: Change a few log wordings and add missing log calls to some commands.
ns_suspend and cs_suspend: Fix log wording, and correct syntax to show the reason is optional.
Diffstat (limited to 'modules/commands/ns_suspend.cpp')
-rw-r--r-- | modules/commands/ns_suspend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_suspend.cpp b/modules/commands/ns_suspend.cpp index 6625a63ec..ae0d85206 100644 --- a/modules/commands/ns_suspend.cpp +++ b/modules/commands/ns_suspend.cpp @@ -58,7 +58,7 @@ class CommandNSSuspend : public Command CommandNSSuspend(Module *creator) : Command(creator, "nickserv/suspend", 2, 3) { this->SetDesc(_("Suspend a given nick")); - this->SetSyntax(_("\037nickname\037 [+\037expiry\037] \037reason\037")); + this->SetSyntax(_("\037nickname\037 [+\037expiry\037] [\037reason\037]")); } void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override @@ -134,7 +134,7 @@ class CommandNSSuspend : public Command } } - Log(LOG_ADMIN, source, this) << "for " << nick << " (" << (!reason.empty() ? reason : "No reason") << "), expires in " << (expiry_secs ? Anope::strftime(Anope::CurTime + expiry_secs) : "never"); + Log(LOG_ADMIN, source, this) << "for " << nick << " (" << (!reason.empty() ? reason : "No reason") << "), expires on " << (expiry_secs ? Anope::strftime(Anope::CurTime + expiry_secs) : "never"); source.Reply(_("Nick %s is now suspended."), nick.c_str()); FOREACH_MOD(OnNickSuspend, (na)); |