X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/f427c8b00d445a30d73b24ff39d953b0be7c3ec5..43946961df9e7703c8877e4bbd9181507422429d:/modules/m_chghost.c diff --git a/modules/m_chghost.c b/modules/m_chghost.c index 92e2652a..a4b4ce3e 100644 --- a/modules/m_chghost.c +++ b/modules/m_chghost.c @@ -25,7 +25,6 @@ #include "msg.h" #include "parse.h" #include "modules.h" -#include "sprintf_irc.h" #include "whowas.h" #include "monitor.h" @@ -162,9 +161,6 @@ ms_chghost(struct Client *client_p, struct Client *source_p, sendto_server(client_p, NULL, CAP_TS6, CAP_EUID, ":%s ENCAP * CHGHOST %s :%s", use_id(source_p), use_id(target_p), parv[2]); - sendto_server(client_p, NULL, - NOCAPS, CAP_TS6, ":%s ENCAP * CHGHOST %s :%s", - source_p->name, target_p->name, parv[2]); } return 0; @@ -234,9 +230,6 @@ mo_chghost(struct Client *client_p, struct Client *source_p, sendto_server(NULL, NULL, CAP_TS6, CAP_EUID, ":%s ENCAP * CHGHOST %s :%s", use_id(source_p), use_id(target_p), parv[2]); - sendto_server(NULL, NULL, - NOCAPS, CAP_TS6, ":%s ENCAP * CHGHOST %s :%s", - source_p->name, target_p->name, parv[2]); #else sendto_one_numeric(source_p, ERR_DISABLED, form_str(ERR_DISABLED), "CHGHOST");