1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 11:13:13 +02:00

+- Made connfreq unable to less than 10

This commit is contained in:
stskeeps
2001-02-24 20:15:29 +00:00
parent e9b9c0e775
commit 0ced6ab45b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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