Fix detection of line to line teleporters.
Remove extraneous function declaration.