diff options
Diffstat (limited to 'plugins/ImportTXT/BbayanIP.inc')
-rw-r--r-- | plugins/ImportTXT/BbayanIP.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ImportTXT/BbayanIP.inc b/plugins/ImportTXT/BbayanIP.inc index 00d6de054a..c8c22eaf97 100644 --- a/plugins/ImportTXT/BbayanIP.inc +++ b/plugins/ImportTXT/BbayanIP.inc @@ -50,7 +50,7 @@ begin dbei.pBlob := PByte(WideToUTF8(PWideChar(s), PAnsiChar(pBlob)));
end;
if not IsDuplicateEvent(DContact.hContact, dbei) then
- if CallService(MS_DB_EVENT_ADD, wParam(DContact.hContact), lParam(@dbei)) <> 0 then
+ if db_event_add(wParam(DContact.hContact), @dbei) <> 0 then
inc(AddedMessages)
else
begin
|