Skip to content

Commit dceca40

Browse files
committed
fix fix check ban reason
1 parent 42146a7 commit dceca40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

KBotExt/LoginTab.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class LoginTab
254254
std::smatch m;
255255
if (std::regex_search(valoApi, m, regexStr))
256256
{
257-
session.UpdateHeader(cpr::Header{ { "User-Agent", m[1].str()} });
257+
session.UpdateHeader(cpr::Header{ { "User-Agent", "RiotClient/" + m[1].str() + " rso-auth (Windows;10;;Home, x64)"}});
258258
}
259259

260260
session.SetBody(authData.toStyledString());

0 commit comments

Comments
 (0)