summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAMN/src/main.cpp')
-rw-r--r--plugins/YAMN/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp
index 13dc9db9cb..c162a2d4d0 100644
--- a/plugins/YAMN/src/main.cpp
+++ b/plugins/YAMN/src/main.cpp
@@ -314,7 +314,7 @@ extern "C" int __declspec(dllexport) Load(void)
hkd.szSection.a = YAMN_DBMODULE;
hkd.szDescription.a = LPGEN("Check mail");
hkd.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL, VK_F11);
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
//Create thread that will be executed every second
if (!(SecTimer = SetTimer(nullptr, 0, 1000, TimerProc)))