diff options
author | dartraiden <wowemuh@gmail.com> | 2022-01-24 17:50:56 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2022-01-24 17:50:56 +0300 |
commit | dae0eee5cac2a349102d78f71c03686a83866bb7 (patch) | |
tree | c850313ed2647b17847543d7564a810755abfd29 /protocols/Steam/src/steam_proto.cpp | |
parent | 41ae1ce5bec8ba343750345972b26770129d81f8 (diff) |
We do not need to translate account names
Diffstat (limited to 'protocols/Steam/src/steam_proto.cpp')
-rw-r--r-- | protocols/Steam/src/steam_proto.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index 801c6cf49c..f41797f9d3 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -69,12 +69,9 @@ CSteamProto::CSteamProto(const char *protoName, const wchar_t *userName) : HookProtoEvent(ME_OPT_INITIALISE, &CSteamProto::OnOptionsInit); // netlib support - wchar_t name[128]; - mir_snwprintf(name, TranslateT("%s connection"), m_tszUserName); - NETLIBUSER nlu = {}; nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE; - nlu.szDescriptiveName.w = name; + nlu.szDescriptiveName.w = m_tszUserName; nlu.szSettingsModule = m_szModuleName; m_hNetlibUser = Netlib_RegisterUser(&nlu); |