command/sticker: return ACK_ERROR_NO_EXIST for "no such sticker"

Closes #389
This commit is contained in:
Max Kellermann 2018-10-31 19:19:07 +01:00
parent b0994bad31
commit 901a48c9a4
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ handle_sticker_song(Response &r, Partition &partition, Request args)
? sticker_song_delete(*song)
: sticker_song_delete_value(*song, args[3]);
if (!ret) {
r.Error(ACK_ERROR_SYSTEM, "no such sticker");
r.Error(ACK_ERROR_NO_EXIST, "no such sticker");
return CommandResult::ERROR;
}