X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/8f43ad3f726608e1f76329b21e4e3de95949957f..4b1cce65ed584cc0fdc9f3c5ec84373fdf2566a8:/modules/core/m_kick.c diff --git a/modules/core/m_kick.c b/modules/core/m_kick.c index e592a553..17231ecf 100644 --- a/modules/core/m_kick.c +++ b/modules/core/m_kick.c @@ -167,10 +167,10 @@ m_kick(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p * be sent anyways. Just waiting for some oper to abuse it... */ if(IsServer(source_p)) - sendto_channel_local(ALL_MEMBERS, chptr, ":%s KICK %s %s :%s", + sendto_channel_local(source_p, ALL_MEMBERS, chptr, ":%s KICK %s %s :%s", source_p->name, name, who->name, comment); else - sendto_channel_local(ALL_MEMBERS, chptr, + sendto_channel_local(source_p, ALL_MEMBERS, chptr, ":%s!%s@%s KICK %s %s :%s", source_p->name, source_p->username, source_p->host, name, who->name, comment);