summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/persistence_client_library_db_access.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/persistence_client_library_db_access.c b/src/persistence_client_library_db_access.c
index 80e57cf..278e7dc 100644
--- a/src/persistence_client_library_db_access.c
+++ b/src/persistence_client_library_db_access.c
@@ -386,9 +386,8 @@ int persistence_set_data(char* dbPath, char* key, const char* resource_id, Persi
int idx = custom_client_name_to_id(dbPath, 1);
if(idx < PersCustomLib_LastEntry )
{
- if(gPersCustomFuncs[idx].custom_plugin_set_data != NULL)
+ if(gPersCustomFuncs[idx].custom_plugin_set_data == NULL)
{
-
if (getCustomLoadingType(idx) == LoadType_OnDemand)
{
// plugin not loaded, try to load the requested plugin