"The LORD has appointed you priest in place of Jehoiada to be in charge of the house of the LORD; you should put any crazy person who acts like a prophet into the stocks and neck-irons."
NIV
The Lord has made you [Zephaniah] priest instead of Jehoiada the [deputy] priest, that you should have oversight in the house of the Lord over every madman who makes himself a prophet, that you should put him in the stocks and collar.
AMP
The LORD hath made thee priest in the stead of Jehoiada the priest, that ye should be officers in the house of the LORD, for every man that is mad, and maketh himself a prophet, that thou shouldest put him in prison, and in the stocks.
KJV