summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-11-12 14:22:23 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-11-12 14:22:23 +0300
commit72d8c90f2e08eb425b8fd8c43a1c69ab903ea16c (patch)
tree826bc1ea8dc7be3cf3a5851b58935c9568b99d5c /src/mir_app
parent2623684b3f63e915fad9791bcb7a0d8c3606ed2f (diff)
traces of old non-existent options removed
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/srmm_util.cpp9
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);
}