]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/numeric.c
Implement local channels (prefix "&")
[ngircd-alex.git] / src / ngircd / numeric.c
index fa32097d027ef66e42f1667f3ca23f9d06e907a1..74c5c12bebc44f6056ba2dc0f04856cda3deb242 100644 (file)
@@ -341,6 +341,10 @@ IRC_Num_ENDOFMOTD(CLIENT * Client, UNUSED REQUEST * Req)
        /* Announce all channels to the new server */
        chan = Channel_First();
        while (chan) {
+               if (Channel_IsLocal(chan)) {
+                       chan = Channel_Next(chan);
+                       continue;
+               }
 #ifdef IRCPLUS
                /* Send CHANINFO if the peer supports it */
                if (strchr(Client_Flags(Client), 'C')) {