Add option general::use_propagated_bans to allow disabling new KLINE.

If this option is yes (default), KLINE by itself sets global (propagated) bans.
If this option is no, KLINE by itself sets a local kline following cluster{},
compatible with 3.2 and older versions.
This commit is contained in:
Jilles Tjoelker 2010-03-14 17:21:20 +01:00
parent f02f338b31
commit 1702b69419
7 changed files with 18 additions and 1 deletions

View file

@ -482,6 +482,12 @@ static struct InfoStruct info_table[] = {
&ConfigFileEntry.warn_no_nline,
"Display warning if connecting server lacks N-line"
},
{
"use_propagated_bans",
OUTPUT_BOOLEAN,
&ConfigFileEntry.use_propagated_bans,
"KLINE sets fully propagated bans"
},
{
"default_split_server_count",
OUTPUT_DECIMAL,