summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-19 15:40:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-19 15:40:09 +0000
commit9556b03ca5f9cb26b16b414faaaea90559843e0c (patch)
treef8aedc9957fdbccf5630fc28d1d29c49fb4a5dc3 /include
parent9e42bd2436c360a0ddb9d526c991ad8a46e9db9a (diff)
unused helper removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14263 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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