Alcoholic Beverage Code 11.61 (e) states:
(e) Except as provided by Subsection (f) or (i), the commission or administrator shall cancel an original or renewal permit if it is found, after notice and hearing, that the permittee knowingly allowed a person to possess a firearm in a building on the licensed premises. This subsection does not apply to a person:
(1) who holds a security officer commission issued under Chapter 1702, Occupations Code, if:
(A) the person is engaged in the performance of the person's duties as a security officer;
(B) the person is wearing a distinctive uniform; and
(C) the weapon is in plain view;
(2) who is a peace officer;
(3) who is a permittee or an employee of a permittee if the person is supervising the operation of the premises; or
(4) who possesses a concealed handgun the person is licensed to carry under Subchapter H, Chapter 411, Government Code, unless the person is on the premises of a business described by Section 46.035(b)(1), Penal Code.
(f) The commission may adopt a rule allowing:
(1) a gun or firearm show on the premises of a permit holder, if the premises is owned or leased by a governmental entity or a nonprofit civic, religious, charitable, fraternal, or veterans' organization;
(2) the holder of a permit for the sale of alcoholic beverages for off-premises consumption to also hold a federal firearms license; or
(3) the ceremonial display of firearms on the premises of the permit holder.
In other words you are correct about the licensee getting his license messed with for allowing you in.