summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 20:23:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 20:23:30 +0000
commit06f15a7fd084bae73e34e6512c9b9903f1e2697b (patch)
tree57d477bc2956963d8c2c49a99e05655825fd1e14 /src/modules
parent4cfe4cbc62dfca59dba74f0e6811fd09e31609df (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_http_client.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}