summaryrefslogtreecommitdiff
path: root/plugins/CyrTranslit/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CyrTranslit/src')
-rw-r--r--plugins/CyrTranslit/src/TransliterationProtocol.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/CyrTranslit/src/TransliterationProtocol.cpp b/plugins/CyrTranslit/src/TransliterationProtocol.cpp
index 52eb90b6ef..53382af667 100644
--- a/plugins/CyrTranslit/src/TransliterationProtocol.cpp
+++ b/plugins/CyrTranslit/src/TransliterationProtocol.cpp
@@ -28,11 +28,7 @@ char *TransliterationProtocol::MODULE_NAME = "ProtoCyrTranslitByIKR";
void TransliterationProtocol::initialize()
{
- PROTOCOLDESCRIPTOR pd = { 0 };
- pd.cbSize = sizeof(pd);
- pd.szName = MODULE_NAME;
- pd.type = PROTOTYPE_TRANSLATION;
- Proto_RegisterModule(&pd);
+ Proto_RegisterModule(PROTOTYPE_TRANSLATION, MODULE_NAME);
CreateProtoServiceFunction(MODULE_NAME, PSS_MESSAGE, sendMessage);
}