summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/main.cpp')
-rw-r--r--protocols/Tox/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/main.cpp b/protocols/Tox/src/main.cpp
index f9322d7f3e..dcf36ddbb6 100644
--- a/protocols/Tox/src/main.cpp
+++ b/protocols/Tox/src/main.cpp
@@ -39,8 +39,8 @@ extern "C" int __declspec(dllexport) Load(void)
PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
pd.szName = "TOX";
pd.type = PROTOTYPE_PROTOCOL;
- pd.fnInit = (pfnInitProto)CToxProto::InitProtoInstance;
- pd.fnUninit = (pfnUninitProto)CToxProto::UninitProtoInstance;
+ pd.fnInit = (pfnInitProto)CToxProto::InitAccount;
+ pd.fnUninit = (pfnUninitProto)CToxProto::UninitAccount;
CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
return 0;