m_invite: send message tags (#173)

This commit is contained in:
megubyte 2021-06-05 14:57:03 +00:00 committed by GitHub
parent 68f3678b46
commit cad61c9d1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -218,9 +218,7 @@ m_invite(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source
}
add_reply_target(target_p, source_p);
sendto_one(target_p, ":%s!%s@%s INVITE %s :%s",
source_p->name, source_p->username, source_p->host,
target_p->name, chptr->chname);
sendto_anywhere(target_p, source_p, "INVITE", ":%s", chptr->chname);
if(store_invite)
add_invite(chptr, target_p);