summaryrefslogtreecommitdiff
path: root/src/modules/clist/contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/contact.cpp')
-rw-r--r--src/modules/clist/contact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/contact.cpp b/src/modules/clist/contact.cpp
index 01e60c94fc..209f8fc052 100644
--- a/src/modules/clist/contact.cpp
+++ b/src/modules/clist/contact.cpp
@@ -163,7 +163,7 @@ INT_PTR ContactChangeGroup(WPARAM wParam, LPARAM lParam)
CallService(MS_CLUI_CONTACTDELETED, wParam, 0);
if ((HANDLE) lParam == NULL)
- DBDeleteContactSetting((HANDLE)wParam, "CList", "Group");
+ db_unset((HANDLE)wParam, "CList", "Group");
else {
grpChg.pszNewName = cli.pfnGetGroupName(lParam, NULL);
db_set_ts((HANDLE)wParam, "CList", "Group", grpChg.pszNewName);