$OpenBSD: patch-source_names_c,v 1.2 2019/02/24 12:41:47 kn Exp $

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)
