summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 20:59:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 20:59:00 +0000
commit70f0fa058f75e3395bac71d5e2e9c0ae46f7425b (patch)
treee6fbc9d98587b5cb844053e8813be7c5cdb49632
parentf87291fa17e5bde006ee9ddf739e3a6746377024 (diff)
IT WORKS!
In your face, everyone who sait it couldnt be modular! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8585 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_http_client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp
index 7e8e28b0b..d96b8e59f 100644
--- a/src/modules/m_http_client.cpp
+++ b/src/modules/m_http_client.cpp
@@ -250,8 +250,9 @@ bool HTTPSocket::ParseURL(const std::string &iurl)
void HTTPSocket::Connect(const string &ip)
{
- Instance->Log(DEBUG,"HTTPSocket::Connect");
+ Instance->Log(DEBUG,"HTTPSocket::Connect(%s)", ip.c_str());
strlcpy(this->IP, ip.c_str(), MAXBUF);
+ strlcpy(this->host, ip.c_str(), MAXBUF);
if (!this->DoConnect())
this->Close();