summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2022-01-24 17:50:56 +0300
committerdartraiden <wowemuh@gmail.com>2022-01-24 17:50:56 +0300
commitdae0eee5cac2a349102d78f71c03686a83866bb7 (patch)
treec850313ed2647b17847543d7564a810755abfd29 /protocols/VKontakte/src
parent41ae1ce5bec8ba343750345972b26770129d81f8 (diff)
We do not need to translate account names
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 38e632c88e..489615b0c3 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -55,13 +55,10 @@ CVkProto::CVkProto(const char *szModuleName, const wchar_t *pwszUserName) :
HookProtoEvent(ME_OPT_INITIALISE, &CVkProto::OnOptionsInit);
- wchar_t descr[512];
- mir_snwprintf(descr, TranslateT("%s (server)"), m_tszUserName);
-
NETLIBUSER nlu = {};
nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE;
nlu.szSettingsModule = m_szModuleName;
- nlu.szDescriptiveName.w = descr;
+ nlu.szDescriptiveName.w = m_tszUserName;
m_hNetlibUser = Netlib_RegisterUser(&nlu);
CMStringA szListeningTo(FORMAT, "%sEnabled", m_szModuleName);