From 5889bd94d241b8454268804861a67c79315a7731 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 26 Jan 2014 21:45:57 +0300 Subject: add chat command for uploading main config.xml New chat command: /uploadconfig --- src/net/download.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/net/download.h') diff --git a/src/net/download.h b/src/net/download.h index f5b886053..bc06f1974 100644 --- a/src/net/download.h +++ b/src/net/download.h @@ -106,12 +106,15 @@ class Download final static unsigned long adlerBuffer(char *buffer, int size); + static std::string getUploadResponse() + { return mUploadResponse; } + private: static int downloadThread(void *ptr); static int downloadProgress(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow); - static std::string mUploadRssponse; + static std::string mUploadResponse; void *mPtr; std::string mUrl; struct -- cgit v1.2.3-70-g09d2