ports/net/ircII/patches/patch-source_names_c

11 lines
360 B
Text

Index: source/names.c
--- source/names.c.orig
+++ source/names.c
@@ -200,6 +200,7 @@ add_channel(u_char *channel, u_char *key, int server,
malloc_strcpy(&new->channel, channel);
new->mode = 0;
new->limit = 0;
+ new->window = NULL;
do_add = 1;
full_list = server_get_chan_list(server);
if ((new->window = is_bound(channel, server)) == NULL)