]> jfr.im git - solanum.git/blobdiff - modules/core/m_part.c
Move to ratbox3 reject and throttle code.
[solanum.git] / modules / core / m_part.c
index 64e9b35d7576991a668b512fad640ef9ae36d700..d6ed969acaf9e1f860242c1c783de1acba73132a 100644 (file)
@@ -132,8 +132,6 @@ part_one_client(struct Client *client_p, struct Client *source_p, char *name, ch
        {
                sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
                              ":%s PART %s :%s", use_id(source_p), chptr->chname, reason);
-               sendto_server(client_p, chptr, NOCAPS, CAP_TS6,
-                             ":%s PART %s :%s", source_p->name, chptr->chname, reason);
                sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s PART %s :%s",
                                     source_p->name, source_p->username,
                                     source_p->host, chptr->chname, reason);
@@ -142,8 +140,6 @@ part_one_client(struct Client *client_p, struct Client *source_p, char *name, ch
        {
                sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
                              ":%s PART %s", use_id(source_p), chptr->chname);
-               sendto_server(client_p, chptr, NOCAPS, CAP_TS6,
-                             ":%s PART %s", source_p->name, chptr->chname);
                sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s PART %s",
                                     source_p->name, source_p->username,
                                     source_p->host, chptr->chname);