]> jfr.im git - solanum.git/blobdiff - modules/core/m_part.c
ircd: send tags on every message
[solanum.git] / modules / core / m_part.c
index 094f39f109fef80d7d9cc5fd773007ca7a3d5f27..6a778b28ae685bd93c69c18ed50bd096286b89b1 100644 (file)
@@ -133,7 +133,7 @@ part_one_client(struct Client *client_p, struct Client *source_p, char *name, co
 
                sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
                              ":%s PART %s :%s", use_id(source_p), chptr->chname, reason);
-               sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s PART %s :%s",
+               sendto_channel_local(source_p, ALL_MEMBERS, chptr, ":%s!%s@%s PART %s :%s",
                                     source_p->name, source_p->username,
                                     source_p->host, chptr->chname, reason);
        }
@@ -141,7 +141,7 @@ part_one_client(struct Client *client_p, struct Client *source_p, char *name, co
        {
                sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
                              ":%s PART %s", use_id(source_p), chptr->chname);
-               sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s PART %s",
+               sendto_channel_local(source_p, ALL_MEMBERS, chptr, ":%s!%s@%s PART %s",
                                     source_p->name, source_p->username,
                                     source_p->host, chptr->chname);
        }