summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/main.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-10-04 02:12:42 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-10-04 02:12:42 +0000
commit6a3c12bfd2a1829ac537a3b615d42c1e956a0586 (patch)
tree79d2fa3338a7a8e2040481c0e11b82905efca2b5 /protocols/Tox/src/main.cpp
parent928158d25b533037df6ba4a1b1daedeefb05bbbb (diff)
Tox:
- fixed network setting loading - code reordering git-svn-id: http://svn.miranda-ng.org/main/trunk@10680 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/main.cpp')
-rw-r--r--protocols/Tox/src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Tox/src/main.cpp b/protocols/Tox/src/main.cpp
index dcf36ddbb6..4077163196 100644
--- a/protocols/Tox/src/main.cpp
+++ b/protocols/Tox/src/main.cpp
@@ -41,9 +41,7 @@ extern "C" int __declspec(dllexport) Load(void)
pd.type = PROTOTYPE_PROTOCOL;
pd.fnInit = (pfnInitProto)CToxProto::InitAccount;
pd.fnUninit = (pfnUninitProto)CToxProto::UninitAccount;
- CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
-
- return 0;
+ return CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
}
extern "C" int __declspec(dllexport) Unload(void)