summaryrefslogtreecommitdiff
path: root/plugins/MirOTR
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/MirOTR
parent48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (diff)
slightly optimized way of getting menu item's module name
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r--plugins/MirOTR/src/mirotrmenu.cpp1
-rw-r--r--plugins/MirOTR/src/svcs_menu.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/plugins/MirOTR/src/mirotrmenu.cpp b/plugins/MirOTR/src/mirotrmenu.cpp
index 6ecb8d9593..21ae10a7f9 100644
--- a/plugins/MirOTR/src/mirotrmenu.cpp
+++ b/plugins/MirOTR/src/mirotrmenu.cpp
@@ -170,7 +170,6 @@ void InitMirOTRMenu(void)
mi.flags = CMIF_DISABLED | CMIF_UNICODE;
mi.name.w = LPGENW("OTR Status");
mi.position = 0;
- mi.Module = MODULENAME;
hStatusInfoItem = AddMirOTRMenuItem(&mi, nullptr);
mi.flags = CMIF_UNICODE | CMIF_NOTPRIVATE | CMIF_NOTUNVERIFIED;
diff --git a/plugins/MirOTR/src/svcs_menu.cpp b/plugins/MirOTR/src/svcs_menu.cpp
index 65606d84ce..5b9d4703d7 100644
--- a/plugins/MirOTR/src/svcs_menu.cpp
+++ b/plugins/MirOTR/src/svcs_menu.cpp
@@ -161,7 +161,6 @@ void InitMenu()
CMenuItem mi;
mi.flags = CMIF_NOTOFFLINE | CMIF_UNICODE;
mi.position = -400000;
- mi.Module = MODULENAME;
SET_UID(mi, 0xAB574FAD, 0x15D8, 0x49FF, 0xB7, 0x03, 0xDA, 0x2B, 0x45, 0x46, 0xC3, 0x56);
mi.name.w = _A2W(LANG_STOP_OTR);