From 2bbb9971bf1711850504d93828f571e27147abc7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 30 Mar 2013 20:10:26 +0000 Subject: MS_DB_EVENT_* services' calls removed from pascal sources git-svn-id: http://svn.miranda-ng.org/main/trunk@4262 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ImportTXT/BbayanIP.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ImportTXT/BbayanIP.inc') 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 -- cgit v1.2.3