Servo Sketch Help

#include <Servo.h>
Servo myservo;

const int servoPin = 8;
const int flamePin = 6;
const int ledPin1 = 2;
int Flame = HIGH;

void setup() {
pinMode(flamePin, INPUT); // Flame sensor is input
myservo.write(0);
myservo.attach(servoPin); // Servo is ouput
pinMode(ledPin1, OUTPUT); //Led 1 is output
} //setup

void loop() {
Flame = digitalRead(flamePin);
if (digitalRead(flamePin) == HIGH) {
myservo.write(180);
delay(50);
delay(500);
digitalWrite(ledPin1, LOW);
}
}

Thank you for your responses! I've just tried this sketch and nothing happens when the sensor detects a flame. The sensor is functional and all wiring is correct.