summaryrefslogtreecommitdiff
path: root/plugins/ImportTXT/BRMSIP.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ImportTXT/BRMSIP.inc')
-rw-r--r--plugins/ImportTXT/BRMSIP.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ImportTXT/BRMSIP.inc b/plugins/ImportTXT/BRMSIP.inc
index 8010a8973c..8e776bf121 100644
--- a/plugins/ImportTXT/BRMSIP.inc
+++ b/plugins/ImportTXT/BRMSIP.inc
@@ -52,7 +52,7 @@ begin
try
if not IsDuplicateEvent(DContact.hContact, dbei) then
- if CallService(MS_DB_EVENT_ADD, wParam(DContact.hContact), lParam(@dbei))<>0 then
+ if db_event_add(DContact.hContact, @dbei) <> 0 then
inc(AddedMessages)
else
begin