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/Omegle | |
parent | 41ae1ce5bec8ba343750345972b26770129d81f8 (diff) |
We do not need to translate account names
Diffstat (limited to 'protocols/Omegle')
-rw-r--r-- | protocols/Omegle/src/proto.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Omegle/src/proto.cpp b/protocols/Omegle/src/proto.cpp index 7a446f36b8..ccc0cb9173 100644 --- a/protocols/Omegle/src/proto.cpp +++ b/protocols/Omegle/src/proto.cpp @@ -42,12 +42,10 @@ OmegleProto::OmegleProto(const char* proto_name, const wchar_t* username) : HookProtoEvent(ME_GC_EVENT, &OmegleProto::OnChatEvent);
// Create standard network connection
- wchar_t descr[512];
NETLIBUSER nlu = {};
nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE;
nlu.szSettingsModule = m_szModuleName;
- mir_snwprintf(descr, TranslateT("%s (server)"), m_tszUserName);
- nlu.szDescriptiveName.w = descr;
+ nlu.szDescriptiveName.w = m_tszUserName;
m_hNetlibUser = Netlib_RegisterUser(&nlu);
if (m_hNetlibUser == nullptr) {
wchar_t error[200];
|