X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/d3455e2c7e2f9040e1b7628d9cf52b26a24dcefc..33736ea75f5e27e1137abbe3dfedf856c064b7ef:/modules/core/m_squit.c diff --git a/modules/core/m_squit.c b/modules/core/m_squit.c index 67e939e..f4fa5f2 100644 --- a/modules/core/m_squit.c +++ b/modules/core/m_squit.c @@ -21,13 +21,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: m_squit.c 3161 2007-01-25 07:23:01Z nenolod $ */ #include "stdinc.h" #include "client.h" #include "common.h" /* FALSE bleah */ -#include "irc_string.h" +#include "match.h" #include "ircd.h" #include "numeric.h" #include "s_conf.h" @@ -64,7 +63,6 @@ static struct squit_parms *find_squit(struct Client *client_p, /* * mo_squit - SQUIT message handler - * parv[0] = sender prefix * parv[1] = server name * parv[2] = comment */ @@ -106,7 +104,6 @@ mo_squit(struct Client *client_p, struct Client *source_p, int parc, const char /* * ms_squit - SQUIT message handler - * parv[0] = sender prefix * parv[1] = server name * parv[2] = comment */ @@ -148,12 +145,7 @@ ms_squit(struct Client *client_p, struct Client *source_p, int parc, const char ":%s WALLOPS :Remote SQUIT %s from %s (%s)", me.id, target_p->name, source_p->name, comment); - sendto_server(NULL, NULL, NOCAPS, CAP_TS6, - ":%s WALLOPS :Remote SQUIT %s from %s (%s)", - me.name, target_p->name, source_p->name, comment); - - ilog(L_SERVER, "SQUIT From %s : %s (%s)", parv[0], target_p->name, comment); - + ilog(L_SERVER, "SQUIT From %s : %s (%s)", source_p->name, target_p->name, comment); } exit_client(client_p, target_p, source_p, comment); return 0;