Client: add method GetPartition(), make partition private

This commit is contained in:
Max Kellermann
2017-02-25 09:58:58 +01:00
parent e3ee60e7af
commit c7396b0675
9 changed files with 72 additions and 58 deletions

View File

@@ -161,7 +161,7 @@ handle_sticker(Client &client, Request args, Response &r)
}
if (StringIsEqual(args[1], "song"))
return handle_sticker_song(r, client.partition, args);
return handle_sticker_song(r, client.GetPartition(), args);
else {
r.Error(ACK_ERROR_ARG, "unknown sticker domain");
return CommandResult::ERROR;