summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/src/history.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SeenPlugin/src/history.cpp')
-rw-r--r--plugins/SeenPlugin/src/history.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/src/history.cpp b/plugins/SeenPlugin/src/history.cpp
index 60d08bc89e..13d5b88277 100644
--- a/plugins/SeenPlugin/src/history.cpp
+++ b/plugins/SeenPlugin/src/history.cpp
@@ -51,7 +51,7 @@ void HistoryWrite(HANDLE hContact)
TCHAR *ptszString;
DBVARIANT dbv;
- if ( !DBGetContactSettingTString(NULL, S_MOD, "HistoryStamp", &dbv)) {
+ if ( !db_get_ts(NULL, S_MOD, "HistoryStamp", &dbv)) {
ptszString = ParseString(dbv.ptszVal, hContact, 0);
db_free(&dbv);
}
@@ -87,7 +87,7 @@ void LoadHistoryList(HANDLE hContact, HWND hwnd, int nList)
i = (i-1+historyMax) % historyMax;
DBVARIANT dbv;
- if ( !DBGetContactSettingTString(hContact, S_MOD, BuildSetting(i), &dbv)) {
+ if ( !db_get_ts(hContact, S_MOD, BuildSetting(i), &dbv)) {
SendDlgItemMessage(hwnd, nList, LB_ADDSTRING, 0, (LPARAM)dbv.ptszVal);
db_free(&dbv);
}