]> jfr.im git - solanum.git/blobdiff - ircd/chmode.c
Add .travis.yml
[solanum.git] / ircd / chmode.c
index f1c32b6deb9e13bb86b4ee365d234c78fc37e213..4759d318834eeaed425137e3e67e8c444b8099c6 100644 (file)
@@ -1747,8 +1747,9 @@ set_channel_mode(struct Client *client_p, struct Client *source_p,
                                  source_p->name, source_p->username,
                                  source_p->host, chptr->chname);
 
-       for(j = 0, flags = flags_list[0]; j < 3; j++, flags = flags_list[j])
+       for(j = 0; j < 3; j++)
        {
+               flags = flags_list[j];
                cur_len = mlen;
                mbuf = modebuf + mlen;
                pbuf = parabuf;