summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/menus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/menus.cpp')
-rw-r--r--plugins/CloudFile/src/menus.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/menus.cpp b/plugins/CloudFile/src/menus.cpp
index 311b17b7e6..c0ed61285b 100644
--- a/plugins/CloudFile/src/menus.cpp
+++ b/plugins/CloudFile/src/menus.cpp
@@ -17,8 +17,7 @@ void InitializeMenus()
ptrA defaultService(db_get_sa(NULL, MODULE, "DefaultService"));
if (defaultService) {
- CCloudServiceSearch search(defaultService);
- CCloudService *service = Services.find(&search);
+ CCloudService *service = FindService(defaultService);
if (service) {
mi.name.a = LPGEN("Upload");
mi.pszService = MODULE "/Default/Upload";