diff --git a/src/client/http/Request.cpp b/src/client/http/Request.cpp index 3f38a74c5..b1e235a07 100644 --- a/src/client/http/Request.cpp +++ b/src/client/http/Request.cpp @@ -56,9 +56,9 @@ namespace http // add post data to a request void Request::AddPostData(std::map data) { +#ifndef NOHTTP // Even if the map is empty, calling this function signifies you want to do a POST request isPost = true; -#ifndef NOHTTP if (!data.size()) { return;