Commit 901a48c9 authored by Max Kellermann's avatar Max Kellermann

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

Closes #389
parent b0994bad
......@@ -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;
}
......
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