diff options
author | Adam <Adam@anope.org> | 2014-03-01 21:12:27 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-03-01 21:12:27 -0500 |
commit | 605e1f2a0353393cf1f45f5d2f38f15bdf392f3d (patch) | |
tree | cd6e95094ac50279d720a093e2bc7ea29eae9672 /modules/commands/cs_invite.cpp | |
parent | dc23c5886961bc2c87daeded4ecdc329325c10a1 (diff) |
Make chanserv/invite show who invited you
Diffstat (limited to 'modules/commands/cs_invite.cpp')
-rw-r--r-- | modules/commands/cs_invite.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/commands/cs_invite.cpp b/modules/commands/cs_invite.cpp index f12670f77..1f39eaf7b 100644 --- a/modules/commands/cs_invite.cpp +++ b/modules/commands/cs_invite.cpp @@ -73,13 +73,14 @@ class CommandCSInvite : public Command if (u2 != u) { source.Reply(_("\002%s\002 has been invited to \002%s\002."), u2->nick.c_str(), c->name.c_str()); + u2->SendMessage(ci->WhoSends(), _("You have been invited to \002%s\002 by \002%s\002."), c->name.c_str(), source.GetNick().c_str()); Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "for " << u2->nick; } else { + u2->SendMessage(ci->WhoSends(), _("You have been invited to \002%s\002."), c->name.c_str()); Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci); } - u2->SendMessage(ci->WhoSends(), _("You have been invited to \002%s\002."), c->name.c_str()); } } |