Anti-terror bill gets nod