From 70f0fa058f75e3395bac71d5e2e9c0ae46f7425b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Nov 2007 20:59:00 +0000 Subject: 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 --- src/modules/m_http_client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3