teleport: fix unused code causing crash

The `teleportSettings` variable was never used and the line referenced
the non-existing function `getArgsTogether`
Merge pull request #427 from Ramblurr/fix-teleport

teleport: fix unused code causing crash