diff options
-rw-r--r-- | src/modules/database/dbutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/database/dbutils.cpp b/src/modules/database/dbutils.cpp index 02e1e0d167..d6bb468c29 100644 --- a/src/modules/database/dbutils.cpp +++ b/src/modules/database/dbutils.cpp @@ -273,7 +273,7 @@ static INT_PTR DbDeleteModule(WPARAM hContact, LPARAM lParam) CallService(MS_DB_CONTACT_ENUMSETTINGS, hContact, (LPARAM)&dbces);
for (int i = vars.getCount()-1; i >= 0; i--) {
- db_unset(NULL, (char*)lParam, vars[i]);
+ db_unset(hContact, (char*)lParam, vars[i]);
mir_free(vars[i]);
}
return 0;
|