diff --git a/src/addons/network_http.cpp b/src/addons/network_http.cpp index 94a5b92f1..f0661cf77 100644 --- a/src/addons/network_http.cpp +++ b/src/addons/network_http.cpp @@ -457,17 +457,17 @@ bool NetworkHttp::conditionFulfilled(const std::string &cond) int stk_version = versionToInt(STK_VERSION); if(cond[1]=="=") { - if(news_version!=stk_version) return false; + if(stk_version!=news_version) return false; continue; } if(cond[1]=="<") { - if(news_version>=stk_version) return false; + if(stk_version>=news_version) return false; continue; } if(cond[1]==">") { - if(news_version<=stk_version) return false; + if(stk_version<=news_version) return false; continue; } printf("Invalid comparison in condition '%s' - assumed true.\n",