From 6a3c12bfd2a1829ac537a3b615d42c1e956a0586 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 4 Oct 2014 02:12:42 +0000 Subject: Tox: - fixed network setting loading - code reordering git-svn-id: http://svn.miranda-ng.org/main/trunk@10680 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/Tox/src/main.cpp') 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) -- cgit v1.2.3