diff --git a/src/Pinger.php b/src/Pinger.php
index <HASH>..<HASH> 100755
--- a/src/Pinger.php
+++ b/src/Pinger.php
@@ -128,7 +128,7 @@ class Pinger
         curl_setopt($ch, CURLOPT_TIMEOUT, 3);
         curl_setopt($ch, CURLOPT_POST, 1);
         curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
-        curl_setopt( $curl, CURLOPT_USERAGENT, 'Mozilla/5.0' );
+        curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0' );
         $response = curl_exec($ch);
         curl_close($ch);
Update Pinger.php

$ch for curl not $curl...... line <I>.