From 6e3901255312a960e08c326cae331bfdb0baa241 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Mar 2007 16:27:02 +0000 Subject: Fix malformed notice git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6661 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_invite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd_invite.cpp b/src/cmd_invite.cpp index 92c190983..21f9e91cc 100644 --- a/src/cmd_invite.cpp +++ b/src/cmd_invite.cpp @@ -78,7 +78,7 @@ CmdResult cmd_invite::Handle (const char** parameters, int pcnt, userrec *user) u->WriteFrom(user,"INVITE %s :%s",u->nick,c->name); user->WriteServ("341 %s %s %s",user->nick,u->nick,c->name); if (ServerInstance->Config->AnnounceInvites) - c->WriteChannelWithServ(ServerInstance->Config->ServerName, "%s invited %s into the channel", user->nick, u->nick); + c->WriteChannelWithServ(ServerInstance->Config->ServerName, "NOTICE %s :*** %s invited %s into the channel", c->name, user->nick, u->nick); FOREACH_MOD(I_OnUserInvite,OnUserInvite(user,u,c)); } else -- cgit v1.2.3