X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/c13a2d9ad3893a66b8f782546fdf5b2a9743fd87..7e6c9180dadba56c2d1d745b09b1cce65700cb52:/modules/m_wallops.c diff --git a/modules/m_wallops.c b/modules/m_wallops.c index ccd25e9..d2c2b28 100644 --- a/modules/m_wallops.c +++ b/modules/m_wallops.c @@ -27,7 +27,7 @@ #include "stdinc.h" #include "client.h" #include "ircd.h" -#include "irc_string.h" +#include "match.h" #include "numeric.h" #include "send.h" #include "s_user.h" @@ -71,8 +71,6 @@ mo_operwall(struct Client *client_p, struct Client *source_p, int parc, const ch sendto_wallops_flags(UMODE_OPERWALL, source_p, "OPERWALL - %s", parv[1]); sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s OPERWALL :%s", use_id(source_p), parv[1]); - sendto_server(client_p, NULL, NOCAPS, CAP_TS6, ":%s OPERWALL :%s", - source_p->name, parv[1]); return 0; } @@ -80,7 +78,6 @@ mo_operwall(struct Client *client_p, struct Client *source_p, int parc, const ch /* * ms_operwall - OPERWALL message handler * (write to *all* local opers currently online) - * parv[0] = sender prefix * parv[1] = message text */ static int @@ -88,8 +85,6 @@ ms_operwall(struct Client *client_p, struct Client *source_p, int parc, const ch { sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s OPERWALL :%s", use_id(source_p), parv[1]); - sendto_server(client_p, NULL, NOCAPS, CAP_TS6, ":%s OPERWALL :%s", - source_p->name, parv[1]); sendto_wallops_flags(UMODE_OPERWALL, source_p, "OPERWALL - %s", parv[1]); return 0; @@ -124,8 +119,6 @@ ms_wallops(struct Client *client_p, struct Client *source_p, int parc, const cha sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s WALLOPS :%s", use_id(source_p), parv[1]); - sendto_server(client_p, NULL, NOCAPS, CAP_TS6, ":%s WALLOPS :%s", - source_p->name, parv[1]); return 0; }