Law Council president Arthur Moses advised politicians not to rush through legislation that seeks to crack down on social media broadcasts of violence.

The Law Council president said legislation implemented as a “knee-jerk reaction” to a tragic event is not equivalent to good legislation and could result in unintended consequences.

The legislation cleared the Senate on Wednesday night, leaving the government one day for the legislation to make its way through the House of Representatives before next month's election.

The Morrison government announced the legislative changes after the Christchurch shooter broadcast his terror attack on Facebook.