0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-30 17:34:04 +01:00

authd: fix fencepost error

This commit is contained in:
Elizabeth Myers 2016-03-28 15:15:16 -05:00
parent a9b809c796
commit c6ebd4fdad

View file

@ -78,9 +78,9 @@ handle_options(int parc, char *parv[])
{
struct auth_opts_handler *handler;
if(parc < 4)
if(parc < 3)
{
warn_opers(L_CRIT, "BUG: handle_options received too few parameters (at least 4 expected, got %d)", parc);
warn_opers(L_CRIT, "BUG: handle_options received too few parameters (at least 3 expected, got %d)", parc);
return;
}