]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_remoteinclude_http.cpp
Add comments
[user/henk/code/inspircd.git] / src / modules / m_remoteinclude_http.cpp
index f32397c810df9f7701c34dc000fffb3a8f7bfc22..d55b4a251aa7ff9d0692fcdb2218ba19f4f21e7d 100644 (file)
@@ -37,6 +37,9 @@ class ModuleRemoteIncludeHttp : public Module
 
        virtual int OnDownloadFile(const std::string &filename, std::istream* &filedata)
        {
+#ifdef WIN32
+               return 0;
+#else
                std::stringstream* gotfile = (std::stringstream*)filedata;
                ServerInstance->Log(DEBUG,"OnDownloadFile in m_remoteinclude_http");
                int sockfd, portno, n;
@@ -105,6 +108,7 @@ class ModuleRemoteIncludeHttp : public Module
                ServerInstance->Log(DEBUG,"Result: %s", result.c_str());
 
                return (result == "200");
+#endif
        }
 
        int SockSend(int sock, const std::string &data)