Section 18. No warp or line shall be passed across a channel or dock so as to obstruct vessels passing along the same.