Fix incorrect usage of log_message()
This commit is contained in:
parent
297fdaf1c6
commit
059deae6f3
@ -76,7 +76,7 @@ auth_userpass(char *user, char *pass, int *errorcode)
|
|||||||
|
|
||||||
if (1 == auth_account_disabled(stp))
|
if (1 == auth_account_disabled(stp))
|
||||||
{
|
{
|
||||||
log_message(&(g_cfg->log), LOG_LEVEL_INFO, "account %s is disabled", user);
|
log_message(LOG_LEVEL_INFO, "account %s is disabled", user);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user