diff options
Diffstat (limited to 'protocols/Tox/src/main.cpp')
-rw-r--r-- | protocols/Tox/src/main.cpp | 4 |
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)
|