summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-07 12:31:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-07 12:31:01 +0000
commitfc4ca4545540ba1f35e4e7ad01646edf11199b4e (patch)
treef5725c89e6674b73bed183af7530350ad25ddf65 /protocols/VKontakte/src/vk_proto.cpp
parent2e1ccca56dcd321148ac0e233dc88e553a951d0b (diff)
ability to set the alternative VK domain
git-svn-id: http://svn.miranda-ng.org/main/trunk@7531 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 1d45da95fe..3a4f28bb1d 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -42,6 +42,10 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) :
nlu.ptszDescriptiveName = descr;
m_hNetlibUser = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu);
+ m_baseDomain = getStringA("BaseDomain");
+ if (m_baseDomain == NULL)
+ m_baseDomain = mir_strdup("vk.com");
+
m_defaultGroup = getTStringA("ProtoGroup");
if (m_defaultGroup == NULL)
m_defaultGroup = mir_tstrdup(_T("VKontakte"));