From dcf450702ba744dafb80a9d87b035b653dfc16ec Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 14 May 2016 17:23:51 -0500 Subject: [PATCH] newconf: ensure wsock and defer_accept are default-to-disable for now, for consistency sake on rehashes --- ircd/newconf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ircd/newconf.c b/ircd/newconf.c index 4f1dd4afa..4f245063b 100644 --- a/ircd/newconf.c +++ b/ircd/newconf.c @@ -842,6 +842,8 @@ conf_begin_listen(struct TopConf *tc) { rb_free(listener_address); listener_address = NULL; + yy_wsock = 0; + yy_defer_accept = 0; return 0; } @@ -850,6 +852,8 @@ conf_end_listen(struct TopConf *tc) { rb_free(listener_address); listener_address = NULL; + yy_wsock = 0; + yy_defer_accept = 0; return 0; }