aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 0cd115cc5..3a4a218e9 100644
--- a/src/command.c
+++ b/src/command.c
@@ -477,7 +477,7 @@ static int handleAddId(struct client *client,
int added_id;
enum playlist_result result = addToPlaylist(argv[1], &added_id);
- if (result == PLAYLIST_RESULT_SUCCESS)
+ if (result != PLAYLIST_RESULT_SUCCESS)
return result;
if (argc == 3) {