diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-11 23:49:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-11 23:49:03 +0000 |
commit | bedbe6480de4af64c0e752bc5ed09d0d7a9aa72c (patch) | |
tree | 281e7e2af14c04c1591d1312557cb57084aac16a /src/modules/httpclient.h | |
parent | 5252b3095f1329c547559ae66774227c4629e2c4 (diff) |
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
Diffstat (limited to 'src/modules/httpclient.h')
-rw-r--r-- | src/modules/httpclient.h | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |