summaryrefslogtreecommitdiff
path: root/protocols/YAMN/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/YAMN/main.cpp')
-rw-r--r--protocols/YAMN/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/YAMN/main.cpp b/protocols/YAMN/main.cpp
index 33a5fc186c..184fe0e3e1 100644
--- a/protocols/YAMN/main.cpp
+++ b/protocols/YAMN/main.cpp
@@ -513,7 +513,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
hkd.pszSection = YAMN_DBMODULE;
hkd.pszDescription = LPGEN("Check mail");
hkd.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL, VK_F11);
- CallService(MS_HOTKEY_REGISTER, 0, (LPARAM)&hkd);
+ Hotkey_Register(&hkd);
//Create thread that will be executed every second
if (!(SecTimer = SetTimer(NULL, 0, 1000, (TIMERPROC)TimerProc)))