summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 13:24:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 13:24:01 +0000
commit876f5d3cab1e8ad29d37ec0cf25b804a6d59e5c4 (patch)
tree87e68edfe4c57de859cec88c09ec7cda5e7c349c /src/modules
parent3975734e9c7f6679b3ff52605e3ccda103a5658a (diff)
Remove pointless debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6951 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_http_client.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/m_http_client.cpp b/src/modules/m_http_client.cpp
index 0e942a545..e3c50ef82 100644
--- a/src/modules/m_http_client.cpp
+++ b/src/modules/m_http_client.cpp
@@ -54,18 +54,15 @@ class HTTPResolver : public Resolver
public:
HTTPResolver(HTTPSocket *socket, InspIRCd *Instance, const string &hostname, bool &cached, Module* me) : Resolver(Instance, hostname, DNS_QUERY_FORWARD, cached, me), socket(socket)
{
- ServerInstance->Log(DEBUG,"Resolving "+hostname);
}
void OnLookupComplete(const string &result, unsigned int ttl, bool cached)
{
- ServerInstance->Log(DEBUG,"Resolver done");
socket->Connect(result);
}
void OnError(ResolverError e, const string &errmsg)
{
- ServerInstance->Log(DEBUG,"Resolver error");
delete socket;
}
};
@@ -140,13 +137,8 @@ bool HTTPSocket::DoRequest(HTTPClientRequest *req)
*/
this->req = *req;
- Instance->Log(DEBUG,"Request in progress");
-
if (!ParseURL(this->req.GetURL()))
- {
- Instance->Log(DEBUG,"Parse failed");
return false;
- }
this->port = url.port;
strlcpy(this->host, url.domain.c_str(), MAXBUF);