The prohibition was one of many side issues included in the mammoth $1.2 trillion package to fund the government through September.