diff options
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/srmm_util.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mir_app/src/srmm_util.cpp b/src/mir_app/src/srmm_util.cpp index 884f19e7eb..7d499245a4 100644 --- a/src/mir_app/src/srmm_util.cpp +++ b/src/mir_app/src/srmm_util.cpp @@ -67,14 +67,7 @@ MIR_APP_DLL(void) Srmm_CreateHotkey(const char *pszSection, const char *pszDescr {
g_pszHotkeySection = pszSection;
- uint16_t wHotKey = HOTKEYCODE(0, VK_RETURN);
- if (db_get_b(0, SRMSGMOD, "SendOnCtrlEnter"))
- wHotKey = HOTKEYCODE(HOTKEYF_CONTROL, VK_RETURN);
-
- if (db_get_b(0, "Tab_SRMsg", "sendonshiftenter"))
- wHotKey = HOTKEYCODE(HOTKEYF_SHIFT, VK_RETURN);
-
- HOTKEYDESC hd = { "tabsrmm_send", pszDescription, pszSection, 0, wHotKey, 0, 100 };
+ HOTKEYDESC hd = { "tabsrmm_send", pszDescription, pszSection, 0, HOTKEYCODE(0, VK_RETURN), 0, 100 };
Hotkey_Register(&hd, g_pChatPlugin);
}
|