1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

Update: Made NAVIGATION_DIRECTION_REPLACE_ALL the default for move of clients

This commit is contained in:
Philipp Schafft 2020-11-10 20:41:02 +00:00
parent 704df45ce5
commit f2edcdb0ff
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
<option value="up">up</option>
<option value="down">down</option>
<option value="replace-current">replace</option>
<option value="replace-all">forget and replace</option>
<option value="replace-all" selected="selected">forget and replace</option>
</select>
<input type="hidden" name="mount" value="{current_source}" />
&#160;

View File

@ -769,7 +769,7 @@ static void command_move_clients(client_t *client,
ICECAST_LOG_INFO("source is \"%s\", destination is \"%s\"", source->mount, dest->mount);
source_move_clients(source, dest, idtext ? &id : NULL, navigation_str_to_direction(directiontext, NAVIGATION_DIRECTION_DOWN));
source_move_clients(source, dest, idtext ? &id : NULL, navigation_str_to_direction(directiontext, NAVIGATION_DIRECTION_REPLACE_ALL));
snprintf(buf, sizeof(buf), "Clients moved from %s to %s",
source->mount, dest_source);