diff --git a/Changes b/Changes index 9db3bf6a8..4885e639b 100644 --- a/Changes +++ b/Changes @@ -245,4 +245,4 @@ - Minor OpenBSD support cleanup - bsd.c, channel.c, s_svs.c, s_unreal.c, s_kline.c, and s_extra.c now use ANSI standards for naming function params - +- Made connfreq unable to less than 10 \ No newline at end of file diff --git a/src/s_conf2.c b/src/s_conf2.c index 1ec404464..3330b2b7d 100644 --- a/src/s_conf2.c +++ b/src/s_conf2.c @@ -861,9 +861,9 @@ int _conf_class(ConfigFile *conf, ConfigEntry *ce) if (!strcmp(cep->ce_varname, "connfreq")) { class->connfreq = atol(cep->ce_vardata); - if (class->connfreq < 0) + if (class->connfreq < 10) { - config_error("%s:%i: class::connfreq with illegal value (<0))", + config_error("%s:%i: class::connfreq with illegal value (<10))", cep->ce_fileptr->cf_filename, cep->ce_varlinenum); } } else