Project

General

Profile

Bug #345 » 0002-Channel-modes-Type-B-flags-always-have-a-value.patch

Pierre-Louis Bonicoli, 2014-09-03 02:26

View differences:

src/irc.c
1701 1701

  
1702 1702
				channel->key = bip_strdup(
1703 1703
					irc_line_elem(line, cur_arg + 3));
1704
				cur_arg++;
1705 1704
			} else {
1706 1705
				if (channel->key) {
1707 1706
					free(channel->key);
1708 1707
					channel->key = NULL;
1709 1708
				}
1710 1709
			}
1710
			cur_arg++;
1711 1711
			break;
1712 1712
		case 'f':
1713 1713
		case 'j':
1714
- 
(3-3/3)