summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-01 15:12:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-01 15:12:52 +0300
commit1c2dead34ab9c54829cb0f27a7bfe0e917474ec0 (patch)
tree29a3f982938aa141ab4fee67e1c92b2b59481f41 /protocols/Discord/src/main.cpp
parent49bd4440c3cec752c3e55da94c248f892131269b (diff)
Discord: added libcurl to dependencies
Diffstat (limited to 'protocols/Discord/src/main.cpp')
-rw-r--r--protocols/Discord/src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Discord/src/main.cpp b/protocols/Discord/src/main.cpp
index 850d4a044e..3cb16686d9 100644
--- a/protocols/Discord/src/main.cpp
+++ b/protocols/Discord/src/main.cpp
@@ -69,6 +69,8 @@ extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
+ curl_global_init(CURL_GLOBAL_ALL);
+
g_hwndHeartbeat = CreateWindowEx(0, L"STATIC", NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL);
PROTOCOLDESCRIPTOR pd = { 0 };