]> jfr.im git - solanum.git/commitdiff
m_invite: send message tags (#173)
authormegubyte <redacted>
Sat, 5 Jun 2021 14:57:03 +0000 (14:57 +0000)
committerGitHub <redacted>
Sat, 5 Jun 2021 14:57:03 +0000 (15:57 +0100)
modules/m_invite.c

index e20ea7a7083b09216dd7ceb47ce06bd95ac0d973..af65e1b5231c21723a774703e072b31cbf95f951 100644 (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);