summaryrefslogtreecommitdiff
path: root/src/modules/protocols/protoaccs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/protocols/protoaccs.cpp')
-rw-r--r--src/modules/protocols/protoaccs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/protocols/protoaccs.cpp b/src/modules/protocols/protoaccs.cpp
index b753f78963..fff20b30c2 100644
--- a/src/modules/protocols/protoaccs.cpp
+++ b/src/modules/protocols/protoaccs.cpp
@@ -234,7 +234,7 @@ static int InitializeStaticAccounts(WPARAM, LPARAM)
BuildProtoMenus();
if (count == 0 && !db_get_b(NULL, "FirstRun", "AccManager", 0)) {
- DBWriteContactSettingByte(NULL, "FirstRun", "AccManager", 1);
+ db_set_b(NULL, "FirstRun", "AccManager", 1);
CallService(MS_PROTO_SHOWACCMGR, 0, 0);
}
return 0;
@@ -618,7 +618,7 @@ void BuildProtoMenus()
void RebuildProtoMenus(int iNewValue)
{
- DBWriteContactSettingByte(NULL, "CList", "MoveProtoMenus", iNewValue);
+ db_set_b(NULL, "CList", "MoveProtoMenus", iNewValue);
RebuildMenuOrder();
BuildProtoMenus();