summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2017-11-27 00:12:03 +0300
committerKirill Volinsky <mataes2007@gmail.com>2017-11-27 00:12:03 +0300
commit48affc01c9a19f3ce39a4600ec6b8e0b247b80c1 (patch)
treebf3b9a4e139ec0fb2831da27942772933e43ef28 /plugins/HTTPServer/src
parent56d1702de011963f3506a481a43c68beb97c8fe8 (diff)
add module name (part 1)
Diffstat (limited to 'plugins/HTTPServer/src')
-rw-r--r--plugins/HTTPServer/src/GuiElements.cpp1
-rw-r--r--plugins/HTTPServer/src/main.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp
index 5e1134b2c9..0dffe76acd 100644
--- a/plugins/HTTPServer/src/GuiElements.cpp
+++ b/plugins/HTTPServer/src/GuiElements.cpp
@@ -1480,6 +1480,7 @@ 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 fb821023f6..4c8ba27c82 100644
--- a/plugins/HTTPServer/src/main.cpp
+++ b/plugins/HTTPServer/src/main.cpp
@@ -926,6 +926,7 @@ 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);
}