From d66e92852961586d4c7884507871244ec96c22ee Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sat, 9 Jan 2010 19:35:01 +0000 Subject: services will now send the correct message on /cs invite git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2742 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_invite.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core') 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; } -- cgit