If no set::modes-on-connect is present we now default to +ixw.

This should be rare, since modes-on-connect is in the example
configuration file with +ixw since 2003, but still... just in
case someone completely misses the modes-on-connect configuration
item, then make sure that we have a safe and good default.
This commit is contained in:
Bram Matthys 2020-07-25 19:20:32 +02:00
parent 13fff82a56
commit db79823578
No known key found for this signature in database
GPG key ID: BF8116B163EAAE98

View file

@ -1672,6 +1672,7 @@ void config_setdefaultsettings(Configuration *i)
i->maxdccallow = 10;
safe_strdup(i->channel_command_prefix, "`!.");
conf_channelmodes("+nt", &i->modes_on_join, 0);
i->conn_modes = set_usermode("+ixw");
i->check_target_nick_bans = 1;
i->maxbans = 60;
i->maxbanlength = 2048;