summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/menus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-20 15:08:48 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-20 15:08:48 +0300
commit8a74e7495ce5ad39de4f5c25121a84d35df90c36 (patch)
tree03e5b4870f09a3163306740c2eebee47bc15b042 /plugins/CloudFile/src/menus.cpp
parentc5bf7d6123dd1c3b82ccb8fdb1b068077e9d56d4 (diff)
CMPlugin to receive a reference to PLUGININFOEX
Diffstat (limited to 'plugins/CloudFile/src/menus.cpp')
-rw-r--r--plugins/CloudFile/src/menus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/menus.cpp b/plugins/CloudFile/src/menus.cpp
index fed19569f6..b05b9d5e87 100644
--- a/plugins/CloudFile/src/menus.cpp
+++ b/plugins/CloudFile/src/menus.cpp
@@ -15,12 +15,12 @@ void InitializeMenus()
SET_UID(mi, 0x93d4495b, 0x259b, 0x4fba, 0xbc, 0x14, 0xf9, 0x46, 0x2c, 0xda, 0xfc, 0x6d);
mi.name.a = LPGEN("Upload to...");
- ptrA defaultService(db_get_sa(NULL, MODULE, "DefaultService"));
+ ptrA defaultService(db_get_sa(NULL, MODULENAME, "DefaultService"));
if (defaultService) {
CCloudService *service = FindService(defaultService);
if (service) {
mi.name.a = LPGEN("Upload");
- mi.pszService = MODULE "/Default/Upload";
+ mi.pszService = MODULENAME "/Default/Upload";
CreateServiceFunctionObj(mi.pszService, UploadMenuCommand, service);
}
}