City pub is first to get 24-hour licence