Do not fail users without argument

This commit is contained in:
z3APA3A 2020-11-11 14:57:35 +03:00
parent c113f236e4
commit ff67464aa1
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ log /logs/3proxy-%y%m%d.log D
rotate 60 rotate 60
counter /count/3proxy.3cf counter /count/3proxy.3cf
users $/conf/passwd users $/conf/passwd
include /conf/counters include /conf/counters
include /conf/bandlimiters include /conf/bandlimiters

View File

@ -1532,7 +1532,7 @@ struct commands commandhandlers[]={
{commandhandlers+20, "logformat", h_logformat, 2, 2}, {commandhandlers+20, "logformat", h_logformat, 2, 2},
{commandhandlers+21, "timeouts", h_timeouts, 2, 0}, {commandhandlers+21, "timeouts", h_timeouts, 2, 0},
{commandhandlers+22, "auth", h_auth, 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+24, "maxconn", h_maxconn, 2, 2},
{commandhandlers+25, "flush", h_flush, 1, 1}, {commandhandlers+25, "flush", h_flush, 1, 1},
{commandhandlers+26, "nserver", h_nserver, 2, 2}, {commandhandlers+26, "nserver", h_nserver, 2, 2},