aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/StickerCommands.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/StickerCommands.cxx')
-rw-r--r--src/command/StickerCommands.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command/StickerCommands.cxx b/src/command/StickerCommands.cxx
index f2fad86cc..b8eee55c5 100644
--- a/src/command/StickerCommands.cxx
+++ b/src/command/StickerCommands.cxx
@@ -143,6 +143,9 @@ handle_sticker_song(Client &client, ConstBuffer<const char *> args)
const char *const base_uri = args[2];
+ StickerOperator op = StickerOperator::EXISTS;
+ const char *value = nullptr;
+
bool success;
struct sticker_song_find_data data = {
client,
@@ -150,6 +153,7 @@ handle_sticker_song(Client &client, ConstBuffer<const char *> args)
};
success = sticker_song_find(*db, base_uri, data.name,
+ op, value,
sticker_song_find_print_cb, &data,
error);
if (!success) {