diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php
index 62c3fde2fcf6a04a4b06c852f253c38706373cba..26bee52a745287aa0be5bd87f62f7102b965adb3 100644
--- a/inc/HTTPClient.php
+++ b/inc/HTTPClient.php
@@ -26,7 +26,7 @@ class DokuHTTPClient extends HTTPClient {
         global $conf;
 
         // call parent constructor
-        $this->HTTPClient();
+        parent::__construct();
 
         // set some values from the config
         $this->proxy_host   = $conf['proxy']['host'];