summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_database.inc1
-rw-r--r--include/m_database.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc
index 43691bc9c6..3da8ce5123 100644
--- a/include/delphi/m_database.inc
+++ b/include/delphi/m_database.inc
@@ -211,7 +211,6 @@ function db_set_resident(const szModule:PAnsiChar; const szSetting:PAnsiChar; bE
///////////////////////////////////////////////////////////////////////////////
function db_add_contact() : TMCONTACT; stdcall; external CoreDLL;
-function db_delete_contact(hContact:TMCONTACT) : int; stdcall; external CoreDLL;
function db_is_contact(hContact:TMCONTACT) : int; stdcall; external CoreDLL;
diff --git a/include/m_database.h b/include/m_database.h
index 0a31bc68fc..9aaffc79eb 100644
--- a/include/m_database.h
+++ b/include/m_database.h
@@ -89,7 +89,7 @@ EXTERN_C MIR_CORE_DLL(MCONTACT) db_add_contact(void);
// Because all events are deleted, lots of people may end up with invalid event
// handles from this operation, which they should be prepared for.
-EXTERN_C MIR_CORE_DLL(int) db_delete_contact(MCONTACT hContact);
+EXTERN_C MIR_CORE_DLL(int) db_delete_contact(MCONTACT hContact, bool bFromProto = false);
// Checks if a given value is a valid contact handle, note that due
// to the nature of multiple threading, a valid contact can still become