Skip to content

Commit

Permalink
fix: LOAD command accepts no parameters
Browse files Browse the repository at this point in the history
Caused by a merge conflict in #1153
  • Loading branch information
Julusian authored Jul 6, 2023
1 parent 77480d1 commit b76d4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol/amcp/AMCPCommandsImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1625,7 +1625,7 @@ std::wstring gl_gc_command(command_context& ctx)
void register_commands(std::shared_ptr<amcp_command_repository_wrapper>& repo)
{
repo->register_channel_command(L"Basic Commands", L"LOADBG", loadbg_command, 1);
repo->register_channel_command(L"Basic Commands", L"LOAD", load_command, 1);
repo->register_channel_command(L"Basic Commands", L"LOAD", load_command, 0);
repo->register_channel_command(L"Basic Commands", L"PLAY", play_command, 0);
repo->register_channel_command(L"Basic Commands", L"PAUSE", pause_command, 0);
repo->register_channel_command(L"Basic Commands", L"RESUME", resume_command, 0);
Expand Down

0 comments on commit b76d4e0

Please sign in to comment.