Charities warn housing bill may restrict emergency aid