aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-03-06 21:35:30 +0100
committerMax Kellermann <max@duempel.org>2012-03-06 21:37:10 +0100
commitfaf35e6082a8c685140820f334b5c4ecc9ce6666 (patch)
treecb311678440256bb9c50eb6dcd0adbe70643c979 /src
parentd07a6edd2f95f6ce11a381ef71e348f9536c1e80 (diff)
command: fix the "DENIED" ACK code
Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST.
Diffstat (limited to 'src')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 2d696650..ad64d9b8 100644
--- a/src/command.c
+++ b/src/command.c
@@ -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: