From 8a74e7495ce5ad39de4f5c25121a84d35df90c36 Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Sun, 20 May 2018 15:08:48 +0300
Subject: CMPlugin to receive a reference to PLUGININFOEX

---
 plugins/CloudFile/src/services.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'plugins/CloudFile/src/services.cpp')

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);
-- 
cgit v1.2.3