summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_protocols.inc2
-rw-r--r--include/m_protocols.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/delphi/m_protocols.inc b/include/delphi/m_protocols.inc
index a7d5d545e7..31f9456782 100644
--- a/include/delphi/m_protocols.inc
+++ b/include/delphi/m_protocols.inc
@@ -349,7 +349,7 @@ function Proto_IsAccountEnabled(proto:PPROTOACCOUNT) : byte; stdcall;
Returns 1 if an account is locked and not supposed to change status, 0 otherwise
}
-function Proto_IsAccountLocked(proto:PAnsiChar) : byte; stdcall;
+function Proto_IsAccountLocked(proto:PPROTOACCOUNT) : byte; stdcall;
external AppDLL name 'Proto_IsAccountLocked';
{
diff --git a/include/m_protocols.h b/include/m_protocols.h
index 4003efcb85..b2121b176b 100644
--- a/include/m_protocols.h
+++ b/include/m_protocols.h
@@ -358,7 +358,7 @@ EXTERN_C MIR_APP_DLL(bool) Proto_IsAccountEnabled(const PROTOACCOUNT *pa);
// lParam = (LPARAM)(char*)szAccountName
// Returns 1 if an account is locked and not supposed to change status, 0 otherwise
-EXTERN_C MIR_APP_DLL(bool) Proto_IsAccountLocked(const char *szModuleName);
+EXTERN_C MIR_APP_DLL(bool) Proto_IsAccountLocked(const PROTOACCOUNT *pa);
/////////////////////////////////////////////////////////////////////////////////////////
// gets the account associated with a contact