From 93ebbbd5d2e098aac4fb0145b151a1c3a31ce4d2 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger <tobias@msrg.cc> Date: Tue, 24 Jun 2025 20:42:23 +0200 Subject: [PATCH] Fix wrong parameter for migrate command --- ts-control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-control b/ts-control index f791e83..120eabb 100755 --- a/ts-control +++ b/ts-control @@ -47,7 +47,7 @@ _ts_control_fetch() { } _ts_control_migrate() { - target=$(_ts_control_get_entity "channel" "$2") + target=$(_ts_control_get_entity "channel" "$1") current_channel=$(teamspeak-query-lib info | grep "Channel: " | sed 's/Channel: //') _ts_control_move_self "$target" teamspeak-query-lib fetch "--strict-channel" "--channel" "$current_channel"