diff --git a/scripts/3proxy.cfg b/scripts/3proxy.cfg index 26b78bf..30b4024 100644 --- a/scripts/3proxy.cfg +++ b/scripts/3proxy.cfg @@ -9,7 +9,7 @@ log /logs/3proxy-%y%m%d.log D rotate 60 counter /count/3proxy.3cf -users $/conf/passwd +users $/conf/passwd include /conf/counters include /conf/bandlimiters diff --git a/src/conf.c b/src/conf.c index c1d8875..7a73904 100644 --- a/src/conf.c +++ b/src/conf.c @@ -1532,7 +1532,7 @@ struct commands commandhandlers[]={ {commandhandlers+20, "logformat", h_logformat, 2, 2}, {commandhandlers+21, "timeouts", h_timeouts, 2, 0}, {commandhandlers+22, "auth", h_auth, 2, 0}, - {commandhandlers+23, "users", h_users, 2, 0}, + {commandhandlers+23, "users", h_users, 1, 0}, {commandhandlers+24, "maxconn", h_maxconn, 2, 2}, {commandhandlers+25, "flush", h_flush, 1, 1}, {commandhandlers+26, "nserver", h_nserver, 2, 2},