diff options
author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-09 19:35:01 +0000 |
---|---|---|
committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-09 19:35:01 +0000 |
commit | d66e92852961586d4c7884507871244ec96c22ee (patch) | |
tree | 64e6705d6d617a3e453fffddd032bc31c568b0ee /src/core/cs_invite.c | |
parent | 4ae43c7dd2ab2698635de7bfe749ed16652942e4 (diff) |
services will now send the correct message on /cs invite <nick>
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2742 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_invite.c')
-rw-r--r-- | src/core/cs_invite.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/cs_invite.c b/src/core/cs_invite.c index fe8d4f6f3..88c47eca0 100644 --- a/src/core/cs_invite.c +++ b/src/core/cs_invite.c @@ -59,7 +59,8 @@ class CommandCSInvite : public Command else { ircdproto->SendInvite(whosends(ci), chan, u2->nick.c_str()); - notice_lang(Config.s_ChanServ, u, CHAN_INVITE_SUCCESS, c->name.c_str()); + notice_lang(whosends(ci)->nick, u, CHAN_INVITE_OTHER_SUCCESS, u2->nick.c_str(), c->name.c_str()); + notice_lang(whosends(ci)->nick, u2, CHAN_INVITE_SUCCESS, c->name.c_str()); } return MOD_CONT; } |