aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 2d6966509..ad64d9b8d 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: