summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api/captcha.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/api/captcha.h')
-rw-r--r--protocols/Steam/src/api/captcha.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Steam/src/api/captcha.h b/protocols/Steam/src/api/captcha.h
index 9619a09b54..0b8ba9191a 100644
--- a/protocols/Steam/src/api/captcha.h
+++ b/protocols/Steam/src/api/captcha.h
@@ -5,9 +5,11 @@ class GetCaptchaRequest : public HttpRequest
{
public:
GetCaptchaRequest(const char *captchaId) :
- HttpRequest(REQUEST_GET, FORMAT, STEAM_WEB_URL "/public/captcha.php?gid=%s", captchaId)
+ HttpRequest(HttpGet, STEAM_WEB_URL "/public/captcha.php")
{
flags = NLHRF_HTTP11 | NLHRF_NODUMP;
+
+ Uri << CHAR_PARAM("gid", captchaId);
}
};