summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-27 12:32:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-27 12:32:05 +0300
commitcc79c1d36c07b905f9d47e5002f90783de92e6cb (patch)
tree7bbad4f326de511109e641fb652133cf970dd4c6 /plugins/NewAwaySysMod
parent48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (diff)
slightly optimized way of getting menu item's module name
Diffstat (limited to 'plugins/NewAwaySysMod')
-rw-r--r--plugins/NewAwaySysMod/src/AwaySys.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/NewAwaySysMod/src/AwaySys.cpp b/plugins/NewAwaySysMod/src/AwaySys.cpp
index 1e3f9e43b6..4ab5f98280 100644
--- a/plugins/NewAwaySysMod/src/AwaySys.cpp
+++ b/plugins/NewAwaySysMod/src/AwaySys.cpp
@@ -635,7 +635,6 @@ int MirandaLoaded(WPARAM, LPARAM)
mi.hIcolibItem = iconList[SendOnEvent ? 1 : 0].hIcolib;
mi.name.w = SendOnEvent ? DISABLE_SOE_COMMAND : ENABLE_SOE_COMMAND;
mi.pszService = MS_AWAYSYS_AUTOREPLY_TOGGLE;
- mi.Module = MOD_NAME;
g_hToggleSOEMenuItem = Menu_AddMainMenuItem(&mi);
memset(&mi, 0, sizeof(mi));