From bedbe6480de4af64c0e752bc5ed09d0d7a9aa72c Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Nov 2007 23:49:03 +0000 Subject: This works with multiple remote includes now except it hangs when an include is within an include git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8590 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/httpclient.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/modules/httpclient.h') diff --git a/src/modules/httpclient.h b/src/modules/httpclient.h index a89de4785..ed258c6af 100644 --- a/src/modules/httpclient.h +++ b/src/modules/httpclient.h @@ -133,6 +133,12 @@ class HTTPClientResponse : public Request str = responsestr; return response; } + + void SetResponse(const std::string &str) + { + responsestr = str; + response = atoi(responsestr.c_str()); + } std::string GetHeader(const std::string &header) { -- cgit v1.2.3