diff options
Diffstat (limited to 'plugins/MessageState/src/main.cpp')
-rw-r--r-- | plugins/MessageState/src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MessageState/src/main.cpp b/plugins/MessageState/src/main.cpp index b2caea0d74..f9091a9722 100644 --- a/plugins/MessageState/src/main.cpp +++ b/plugins/MessageState/src/main.cpp @@ -2,7 +2,7 @@ int hLangpack;
HINSTANCE g_hInst;
-HANDLE hDummyService;
+HANDLE hUpdateService;
PLUGININFOEX pluginInfo =
{
@@ -36,15 +36,15 @@ extern "C" int __declspec(dllexport) Load(void) mir_getLP(&pluginInfo);
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
- hDummyService = CreateServiceFunction(MODULENAME "/DummyService", DummyService);
+ hUpdateService = CreateServiceFunction(MS_MESSAGESTATE_UPDATE, UpdateService);
return 0;
}
extern "C" int __declspec(dllexport) Unload(void)
{
- if (hDummyService)
- DestroyServiceFunction(hDummyService);
+ if (hUpdateService)
+ DestroyServiceFunction(hUpdateService);
return 0;
}
\ No newline at end of file |