Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 222483 | Differences between
and this patch

Collapse All | Expand All

(-)src/mod/irc.mod/chan.c (-2 / +3 lines)
Lines 965-974 Link Here
965
        q = strchr(p, ' ');
965
        q = strchr(p, ' ');
966
        if (q != NULL) {
966
        if (q != NULL) {
967
          *q = 0;
967
          *q = 0;
968
          set_key(chan, p);
968
          set_keyegg(chan, p);
969
          strcpy(p, q + 1);
969
          strcpy(p, q + 1);
970
        } else {
970
        } else {
971
          set_key(chan, p);
971
          set_keyegg(chan, p);
972
          *p = 0;
972
          *p = 0;
973
        }
973
        }
974
      }
974
      }
Lines 982-987 Link Here
982
        chan->status |= CHAN_ASKEDMODES;
982
        chan->status |= CHAN_ASKEDMODES;
983
    }
983
    }
984
    if (msg[i] == 'l') {
984
    if (msg[i] == 'l') {
985
      chan->channel.mode |= CHANLIMIT;
985
      p = strchr(msg, ' ');
986
      p = strchr(msg, ' ');
986
      if (p != NULL) {          /* test for null limit assignment */
987
      if (p != NULL) {          /* test for null limit assignment */
987
        p++;
988
        p++;

Return to bug 222483