Don't free propagated bans on dereference
This commit is contained in:
parent
ce376a21cc
commit
73d8a5aa23
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ void
|
||||||
deref_conf(struct ConfItem *aconf)
|
deref_conf(struct ConfItem *aconf)
|
||||||
{
|
{
|
||||||
aconf->clients--;
|
aconf->clients--;
|
||||||
if(!aconf->clients && IsIllegal(aconf))
|
if(!aconf->clients && IsIllegal(aconf) && !lookup_prop_ban(aconf))
|
||||||
free_conf(aconf);
|
free_conf(aconf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue