command: fix the "DENIED" ACK code
Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST.
This commit is contained in:
parent
d07a6edd2f
commit
faf35e6082
@ -121,7 +121,7 @@ print_playlist_result(struct client *client,
|
|||||||
return COMMAND_RETURN_ERROR;
|
return COMMAND_RETURN_ERROR;
|
||||||
|
|
||||||
case PLAYLIST_RESULT_DENIED:
|
case PLAYLIST_RESULT_DENIED:
|
||||||
command_error(client, ACK_ERROR_NO_EXIST, "Access denied");
|
command_error(client, ACK_ERROR_PERMISSION, "Access denied");
|
||||||
return COMMAND_RETURN_ERROR;
|
return COMMAND_RETURN_ERROR;
|
||||||
|
|
||||||
case PLAYLIST_RESULT_NO_SUCH_SONG:
|
case PLAYLIST_RESULT_NO_SUCH_SONG:
|
||||||
|
Loading…
Reference in New Issue
Block a user