Fix wrong parameter for migrate command
This commit is contained in:
parent
21c1e3fbb3
commit
93ebbbd5d2
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue