Man charged after allegedly pointing gun inside bar