Commit faf35e60 authored by Max Kellermann's avatar Max Kellermann

command: fix the "DENIED" ACK code

Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST.
parent d07a6edd
......@@ -121,7 +121,7 @@ print_playlist_result(struct client *client,
return COMMAND_RETURN_ERROR;
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;
case PLAYLIST_RESULT_NO_SUCH_SONG:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment