About a hundred pub-goers ran for their lives out of a pub in Hat Yai early on Sunday after a gun carried by a customer accidentally went off, sending a bullet into his leg.
The incident occurred at about 1.30am inside Nectar Pub.
Hat Yai police rushed to the pub to investigate.
Niran Suwan-in, 31, the pub-goer who accidentally triggered the shot, was injured in the left leg. He was admitted to Hat Yai Hospital for treatment.
A police investigation revealed that Mr Niran was among a large group of about 30 customers who made reservations online. Mr Niran was in a group of four men and three women at a table.
While Mr Niran was dancing to music, a 9mm automatic pistol he was carrying in his trouser pocket accidentally went off and the bullet hit him in the left leg.
The sudden blast caused all pub-goers to panic. They rushed outside the pub, which was closed for safety.
Police found the gun was properly registered. However, they were investigating how Mr Niran was able to enter the pub with the weapon.