summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-10-17 11:59:07 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-10-17 11:59:07 +0000
commite9762234c700d0852e248ba03c37bf1214a0ec63 (patch)
tree130fb57520a12b24b039b6c8a58050fdba613fbc
parentd60fbed343e32116dd85c4f756404a1be532a4fc (diff)
not load plugin without skipekit
git-svn-id: http://svn.miranda-ng.org/main/trunk@1969 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Skype/src/skype.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype.cpp b/protocols/Skype/src/skype.cpp
index d2d37aa560..eda5f157c7 100644
--- a/protocols/Skype/src/skype.cpp
+++ b/protocols/Skype/src/skype.cpp
@@ -424,7 +424,8 @@ extern "C" int __declspec(dllexport) Load(void)
LoadKeyPair();
//if (!StartSkypeRuntime())
//return 1;
- ForkProcessFromResource(IDR_RUNTIME, _T("EXE"));
+ if (!ForkProcessFromResource(IDR_RUNTIME, _T("EXE")))
+ return 1;
g_skype = new CSkype();
g_skype->init(keyBuf, "127.0.0.1", port);