Most bars do not allow anyone to carry firearms on the premises, even LEO. Some states have a law against carrying a firearm in a bar as well. So that makes bars a gun free zone like schools, otherwise known as targets.
A few years back, when I lived in the once-Golden State, my CCW had a printed provision (paraphrasing but close) "Not valid when consuming alcohol, or remaining in places that primarily serve alcohol."
Might have been a County restriction, I don't know if it was statewide.
.