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_group.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_group.cpp')
| -rw-r--r-- | modules/commands/ns_group.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_group.cpp b/modules/commands/ns_group.cpp index ad2a74e38..81daddf84 100644 --- a/modules/commands/ns_group.cpp +++ b/modules/commands/ns_group.cpp @@ -46,7 +46,7 @@ class NSGroupRequest : public IdentifyRequest u->Login(target->nc); FOREACH_MOD(OnNickGroup, (u, target)); - Log(LOG_COMMAND, source, cmd) << "makes " << nick << " join group of " << target->nick << " (" << target->nc->display << ") (email: " << (!target->nc->email.empty() ? target->nc->email : "none") << ")"; + Log(LOG_COMMAND, source, cmd) << "to make " << nick << " join group of " << target->nick << " (" << target->nc->display << ") (email: " << (!target->nc->email.empty() ? target->nc->email : "none") << ")"; source.Reply(_("You are now in the group of \002%s\002."), target->nick.c_str()); u->lastnickreg = Anope::CurTime; @@ -120,7 +120,7 @@ class CommandNSGroup : public Command source.Reply(_("Please wait %d seconds before using the GROUP command again."), (reg_delay + u->lastnickreg) - Anope::CurTime); else if (target->nc->HasExt("NS_SUSPENDED")) { - Log(LOG_COMMAND, source, this) << "tried to use GROUP for SUSPENDED nick " << target->nick; + Log(LOG_COMMAND, source, this) << "and tried to group to SUSPENDED nick " << target->nick; source.Reply(NICK_X_SUSPENDED, target->nick.c_str()); } else if (na && *target->nc == *na->nc) |
