mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-28 14:02:27 +01:00
- config_warn() when server link block has deprecated/removed zip option (#4189)
This commit is contained in:
parent
061c405172
commit
853ab1955f
1 changed files with 6 additions and 0 deletions
|
@ -6528,6 +6528,12 @@ int _test_link(ConfigFile *conf, ConfigEntry *ce)
|
|||
errors++;
|
||||
continue;
|
||||
}
|
||||
if (!stricmp(cepp->ce_varname, "zip"))
|
||||
{
|
||||
config_warn("%s:%i: link %s with deprecated zip option, compression is included with SSL linking",
|
||||
cep->ce_fileptr->cf_filename, cep->ce_varlinenum, ce->ce_vardata);
|
||||
continue;
|
||||
}
|
||||
if (!(ofp = config_binary_flags_search(_LinkFlags, cepp->ce_varname, ARRAY_SIZEOF(_LinkFlags))))
|
||||
{
|
||||
config_error_unknownopt(cepp->ce_fileptr->cf_filename,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue