Bill stops ‘illegal gambling’