From 73d8a5aa23fd1bb70268359343945ea23bf78dca Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Thu, 20 May 2021 08:09:00 +0100 Subject: [PATCH] Don't free propagated bans on dereference --- ircd/s_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/s_conf.c b/ircd/s_conf.c index 28cf6647..6e8cb5d5 100644 --- a/ircd/s_conf.c +++ b/ircd/s_conf.c @@ -543,7 +543,7 @@ void deref_conf(struct ConfItem *aconf) { aconf->clients--; - if(!aconf->clients && IsIllegal(aconf)) + if(!aconf->clients && IsIllegal(aconf) && !lookup_prop_ban(aconf)) free_conf(aconf); }