diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-27 12:32:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-27 12:32:05 +0300 |
commit | cc79c1d36c07b905f9d47e5002f90783de92e6cb (patch) | |
tree | 7bbad4f326de511109e641fb652133cf970dd4c6 /plugins/HTTPServer | |
parent | 48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (diff) |
slightly optimized way of getting menu item's module name
Diffstat (limited to 'plugins/HTTPServer')
-rw-r--r-- | plugins/HTTPServer/src/GuiElements.cpp | 1 | ||||
-rw-r--r-- | plugins/HTTPServer/src/main.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp index 0dffe76acd..5e1134b2c9 100644 --- a/plugins/HTTPServer/src/GuiElements.cpp +++ b/plugins/HTTPServer/src/GuiElements.cpp @@ -1480,7 +1480,6 @@ void InitGuiElements() mi.position = -2000019955;
mi.name.w = LPGENW("HTTP Share new file");
mi.pszService = MS_SHARE_NEW_FILE;
- mi.Module = MODULE;
hShareNewFileMenuItem = Menu_AddContactMenuItem(&mi);
if (db_get_b(NULL, MODULE, "AddStatisticsMenuItem", 1) != 0) {
diff --git a/plugins/HTTPServer/src/main.cpp b/plugins/HTTPServer/src/main.cpp index 4c8ba27c82..fb821023f6 100644 --- a/plugins/HTTPServer/src/main.cpp +++ b/plugins/HTTPServer/src/main.cpp @@ -926,7 +926,6 @@ extern "C" __declspec(dllexport) int Load() mi.position = 1000085000;
mi.name.a = LPGEN("Enable HTTP server");
mi.pszService = MS_HTTP_ACCEPT_CONNECTIONS;
- mi.Module = MODULE;
hAcceptConnectionsMenuItem = Menu_AddMainMenuItem(&mi);
}
|