diff options
Diffstat (limited to 'plugins/CloudFile/src/cloud_service.cpp')
-rw-r--r-- | plugins/CloudFile/src/cloud_service.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/CloudFile/src/cloud_service.cpp b/plugins/CloudFile/src/cloud_service.cpp index ee2bebe4d4..3f35bc1d4b 100644 --- a/plugins/CloudFile/src/cloud_service.cpp +++ b/plugins/CloudFile/src/cloud_service.cpp @@ -20,6 +20,9 @@ void InitServices() for (size_t i = 0; i < count; i++) { CCloudService *service = Services[i]; + if (!db_get_b(NULL, service->GetModule(), "IsEnable", TRUE)) + continue; + CMStringA moduleName(CMStringDataFormat::FORMAT, "%s/%s", MODULE, service->GetModule()); pd.type = PROTOTYPE_VIRTUAL; pd.szName = moduleName.GetBuffer(); |