summaryrefslogtreecommitdiff
path: root/plugins/YAMN
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 17:14:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 17:14:39 +0300
commit737d05018bbc2da54414bea0c2ccce6f1e15bde2 (patch)
tree35f84ba2f7e3db56618b8925654b9e84593fe4fe /plugins/YAMN
parent869094d2aabef8ab10a1178907cb31ae84f504f9 (diff)
Hotkey_Register => CMPlugin::addHotkey
Diffstat (limited to 'plugins/YAMN')
-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)))