From 06f15a7fd084bae73e34e6512c9b9903f1e2697b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Nov 2007 20:23:30 +0000 Subject: Ok, this works except for it wont resolve hosts before full startup. argh why?! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8580 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_http_client.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules') diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp index 62dfe6831..6a72d4eee 100644 --- a/src/modules/m_http_client.cpp +++ b/src/modules/m_http_client.cpp @@ -150,10 +150,13 @@ bool HTTPSocket::DoRequest(HTTPClientRequest *req) this->port = url.port; strlcpy(this->host, url.domain.c_str(), MAXBUF); + /* bool cached; HTTPResolver* r = new HTTPResolver(this, Server, url.domain, cached, (Module*)Mod); Instance->AddResolver(r, cached); return true; + */ + Connect(url.domain); return true; } -- cgit v1.2.3