Skip to content

Commit

Permalink
fix fix check ban reason
Browse files Browse the repository at this point in the history
  • Loading branch information
KebsCS committed Aug 20, 2023
1 parent 42146a7 commit dceca40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KBotExt/LoginTab.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class LoginTab
std::smatch m;
if (std::regex_search(valoApi, m, regexStr))
{
session.UpdateHeader(cpr::Header{ { "User-Agent", m[1].str()} });
session.UpdateHeader(cpr::Header{ { "User-Agent", "RiotClient/" + m[1].str() + " rso-auth (Windows;10;;Home, x64)"}});
}

session.SetBody(authData.toStyledString());
Expand Down

0 comments on commit dceca40

Please sign in to comment.