summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/services.cpp')
-rw-r--r--plugins/CloudFile/src/services.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CloudFile/src/services.cpp b/plugins/CloudFile/src/services.cpp
index d367dc1fe8..9f1867cb6e 100644
--- a/plugins/CloudFile/src/services.cpp
+++ b/plugins/CloudFile/src/services.cpp
@@ -24,7 +24,7 @@ static INT_PTR GetService(WPARAM wParam, LPARAM lParam)
ptrA accountName(mir_strdup((char*)wParam));
if (!accountName || !mir_strlen(accountName))
- accountName = db_get_sa(NULL, MODULE, "DefaultService");
+ accountName = db_get_sa(NULL, MODULENAME, "DefaultService");
if (accountName == nullptr)
return 2;
@@ -63,7 +63,7 @@ INT_PTR Upload(WPARAM wParam, LPARAM lParam)
ptrA accountName(mir_strdup(uploadData->accountName));
if (!mir_strlen(accountName))
- accountName = db_get_sa(NULL, MODULE, "DefaultService");
+ accountName = db_get_sa(NULL, MODULENAME, "DefaultService");
if (accountName == nullptr)
return 2;
@@ -96,9 +96,9 @@ INT_PTR Upload(WPARAM wParam, LPARAM lParam)
void InitializeServices()
{
- Proto_RegisterModule(PROTOTYPE_FILTER, MODULE);
+ Proto_RegisterModule(PROTOTYPE_FILTER, MODULENAME);
- CreateServiceFunction(MODULE PSS_FILE, SendFileInterceptor);
+ CreateServiceFunction(MODULENAME PSS_FILE, SendFileInterceptor);
CreateServiceFunction(MS_CLOUDFILE_GETSERVICE, GetService);
CreateServiceFunction(MS_CLOUDFILE_ENUMSERVICES, EnumServices);