aboutsummaryrefslogtreecommitdiffstats
path: root/src/StickerCommands.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/StickerCommands.cxx')
-rw-r--r--src/StickerCommands.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/StickerCommands.cxx b/src/StickerCommands.cxx
index d13647c33..5cbb7e984 100644
--- a/src/StickerCommands.cxx
+++ b/src/StickerCommands.cxx
@@ -38,7 +38,7 @@ struct sticker_song_find_data {
};
static void
-sticker_song_find_print_cb(struct song *song, const char *value,
+sticker_song_find_print_cb(Song *song, const char *value,
gpointer user_data)
{
struct sticker_song_find_data *data =
@@ -58,7 +58,7 @@ handle_sticker_song(Client *client, int argc, char *argv[])
/* get song song_id key */
if (argc == 5 && strcmp(argv[1], "get") == 0) {
- song *song = db->GetSong(argv[3], &error);
+ Song *song = db->GetSong(argv[3], &error);
if (song == nullptr)
return print_error(client, error);
@@ -76,7 +76,7 @@ handle_sticker_song(Client *client, int argc, char *argv[])
return COMMAND_RETURN_OK;
/* list song song_id */
} else if (argc == 4 && strcmp(argv[1], "list") == 0) {
- song *song = db->GetSong(argv[3], &error);
+ Song *song = db->GetSong(argv[3], &error);
if (song == nullptr)
return print_error(client, error);
@@ -90,7 +90,7 @@ handle_sticker_song(Client *client, int argc, char *argv[])
return COMMAND_RETURN_OK;
/* set song song_id id key */
} else if (argc == 6 && strcmp(argv[1], "set") == 0) {
- song *song = db->GetSong(argv[3], &error);
+ Song *song = db->GetSong(argv[3], &error);
if (song == nullptr)
return print_error(client, error);
@@ -106,7 +106,7 @@ handle_sticker_song(Client *client, int argc, char *argv[])
/* delete song song_id [key] */
} else if ((argc == 4 || argc == 5) &&
strcmp(argv[1], "delete") == 0) {
- song *song = db->GetSong(argv[3], &error);
+ Song *song = db->GetSong(argv[3], &error);
if (song == nullptr)
return print_error(client, error);