summaryrefslogtreecommitdiff
path: root/protocols/ICQCorp/src/corp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQCorp/src/corp.cpp')
-rw-r--r--protocols/ICQCorp/src/corp.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/ICQCorp/src/corp.cpp b/protocols/ICQCorp/src/corp.cpp
index 38355f466b..523917cb3e 100644
--- a/protocols/ICQCorp/src/corp.cpp
+++ b/protocols/ICQCorp/src/corp.cpp
@@ -62,11 +62,7 @@ BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD reason, LPVOID)
findData.cFileName[strlen(findData.cFileName) - 4] = 0;
strncpy_s(protoName, findData.cFileName, _TRUNCATE);
- PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE };
- pd.szName = protoName;
- pd.type = PROTOTYPE_PROTOCOL;
- Proto_RegisterModule(&pd);
-
+ Proto_RegisterModule(PROTOTYPE_PROTOCOL, protoName);
Proto_SetUniqueId(protoName, "UIN");
DisableThreadLibraryCalls(hModule);