summaryrefslogtreecommitdiff
path: root/plugins/Actman
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Actman')
-rw-r--r--plugins/Actman/iac_contact.pas2
-rw-r--r--plugins/Actman/iac_dbrw.pas2
-rw-r--r--plugins/Actman/iac_inout.pas2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Actman/iac_contact.pas b/plugins/Actman/iac_contact.pas
index 55afcfba2f..7c17334f15 100644
--- a/plugins/Actman/iac_contact.pas
+++ b/plugins/Actman/iac_contact.pas
@@ -116,7 +116,7 @@ var
is_chat:boolean;
begin
result:=0;
- proto:=GetContactProtoAcc(hContact);
+ proto:=Proto_GetBaseAccountName(hContact);
if proto<>nil then
begin
is_chat:=IsChat(hContact);
diff --git a/plugins/Actman/iac_dbrw.pas b/plugins/Actman/iac_dbrw.pas
index 7ddbe0b61c..f9faa18293 100644
--- a/plugins/Actman/iac_dbrw.pas
+++ b/plugins/Actman/iac_dbrw.pas
@@ -175,7 +175,7 @@ begin
IntToStr(sbuf,WorkData.LastResult);
end;
- proto:=GetContactProtoAcc(hContact);
+ proto:=Proto_GetBaseAccountName(hContact);
// now need to process module
if (flags and ACF_RW_MODULE)<>0 then
begin
diff --git a/plugins/Actman/iac_inout.pas b/plugins/Actman/iac_inout.pas
index a9930797ab..5ae7a1cedf 100644
--- a/plugins/Actman/iac_inout.pas
+++ b/plugins/Actman/iac_inout.pas
@@ -268,7 +268,7 @@ begin
if hContact=0 then exit;
- p:=GetContactProtoAcc(hContact);
+ p:=Proto_GetBaseAccountName(hContact);
if DBReadByte(hContact,p,'ChatRoom',0)<>1 then
begin
WidetoUTF8(last,blob);