]> jfr.im git - irc/blitzed-org/charybdis.git/commitdiff
Remove some TS5 code from ms_bmask().
authorJilles Tjoelker <redacted>
Thu, 16 Feb 2012 23:36:12 +0000 (00:36 +0100)
committerJilles Tjoelker <redacted>
Thu, 16 Feb 2012 23:36:12 +0000 (00:36 +0100)
ms_bmask() used to send MODE messages to TS5 servers, but
TS5 support was removed long ago.

modules/core/m_mode.c

index f89c295520eece9dea4f03d0bfcdcde575fc0d4d..030985169ba8c30912448b360a3a43453560f7f7 100644 (file)
@@ -358,8 +358,6 @@ ms_bmask(struct Client *client_p, struct Client *source_p, int parc, const char
                                *mbuf = '\0';
                                *(pbuf - 1) = '\0';
                                sendto_channel_local(mems, chptr, "%s %s", modebuf, parabuf);
-                               sendto_server(client_p, chptr, needcap, CAP_TS6,
-                                             "%s %s", modebuf, parabuf);
 
                                mbuf = modebuf + mlen;
                                pbuf = parabuf;
@@ -396,7 +394,6 @@ ms_bmask(struct Client *client_p, struct Client *source_p, int parc, const char
                *mbuf = '\0';
                *(pbuf - 1) = '\0';
                sendto_channel_local(mems, chptr, "%s %s", modebuf, parabuf);
-               sendto_server(client_p, chptr, needcap, CAP_TS6, "%s %s", modebuf, parabuf);
        }
 
        sendto_server(client_p, chptr, CAP_TS6 | needcap, NOCAPS, ":%s BMASK %ld %s %s :%s",