summaryrefslogtreecommitdiff
path: root/plugins/CSList/src/cslist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CSList/src/cslist.cpp')
-rw-r--r--plugins/CSList/src/cslist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp
index bf2f093749..4fe55e4279 100644
--- a/plugins/CSList/src/cslist.cpp
+++ b/plugins/CSList/src/cslist.cpp
@@ -270,14 +270,14 @@ void importCustomStatuses(CSWindow* csw, int result)
si->m_iIcon = i-1;
mir_snprintf(bufTitle, 32, "XStatus%dName", i);
- if ( !DBGetContactSettingTString( NULL, protoName, bufTitle, &dbv )) {
+ if ( !db_get_ts( NULL, protoName, bufTitle, &dbv )) {
lstrcpy(si->m_tszTitle, dbv.ptszVal);
db_free(&dbv);
}
else si->m_tszTitle[0] = 0;
mir_snprintf(bufMessage, 32, "XStatus%dMsg", i);
- if ( !DBGetContactSettingTString( NULL, protoName, bufMessage, &dbv )) {
+ if ( !db_get_ts( NULL, protoName, bufMessage, &dbv )) {
lstrcpy(si->m_tszMessage, dbv.ptszVal);
db_free(&dbv);
}