summaryrefslogtreecommitdiff
path: root/src/modules/clist/keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/keyboard.cpp')
-rw-r--r--src/modules/clist/keyboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/keyboard.cpp b/src/modules/clist/keyboard.cpp
index 95df7f4ae2..6da22a5fb7 100644
--- a/src/modules/clist/keyboard.cpp
+++ b/src/modules/clist/keyboard.cpp
@@ -62,7 +62,7 @@ static INT_PTR hkCloseMiranda(WPARAM wParam, LPARAM lParam)
INT_PTR hkRestoreStatus(WPARAM wParam, LPARAM lParam)
{
- int nStatus = DBGetContactSettingWord(NULL, "CList", "Status", ID_STATUS_OFFLINE);
+ int nStatus = db_get_w(NULL, "CList", "Status", ID_STATUS_OFFLINE);
CallService(MS_CLIST_SETSTATUSMODE, nStatus, 0);
return 0;
}