summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/proto/i_proto_dlg.inc2
-rw-r--r--plugins/Watrack/watrack.dpr2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Watrack/proto/i_proto_dlg.inc b/plugins/Watrack/proto/i_proto_dlg.inc
index d5c3f2262b..fff194f5d9 100644
--- a/plugins/Watrack/proto/i_proto_dlg.inc
+++ b/plugins/Watrack/proto/i_proto_dlg.inc
@@ -32,7 +32,7 @@ begin
if SendMessage(hwndList,CLM_GETCHECKMARK,hItem,0)<>0 then
DBWriteByte(hContact,strCList,ShareOptText,1)
else
- DBDeleteSetting(hContact,strCList,ShareOptText);
+ db_unset(hContact,strCList,ShareOptText);
end;
hContact:=db_find_next(hContact);
end;
diff --git a/plugins/Watrack/watrack.dpr b/plugins/Watrack/watrack.dpr
index f653ec22ea..d766d53b06 100644
--- a/plugins/Watrack/watrack.dpr
+++ b/plugins/Watrack/watrack.dpr
@@ -557,7 +557,7 @@ begin
dbetd.flags :=cdbetd[i].flags;
dbetd.eventType :=cdbetd[i].event;
dbetd.descr :=cdbetd[i].descr;
- CallService(MS_DB_EVENT_REGISTERTYPE,0,TLPARAM(@dbetd));
+ DbEvent_RegisterType(@dbetd);
end;
// Load WATrack modules