summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas/protocols.pas
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-07 20:23:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-07 20:23:30 +0300
commit5811219420fdedef8941584ef70fec403d012e4e (patch)
tree2f5e90bbd69a6499923b6207e5c9df51588d0fb8 /plugins/Utils.pas/protocols.pas
parentf60c78abfbd5f279b30de729046b805bba8e00b0 (diff)
Proto_GetAccount() for pascal plugins
Diffstat (limited to 'plugins/Utils.pas/protocols.pas')
-rw-r--r--plugins/Utils.pas/protocols.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Utils.pas/protocols.pas b/plugins/Utils.pas/protocols.pas
index 97a972dbe0..8a76d794d0 100644
--- a/plugins/Utils.pas/protocols.pas
+++ b/plugins/Utils.pas/protocols.pas
@@ -184,7 +184,7 @@ end;
function GetProtoStatus(ProtoNum:uint_ptr):integer;
begin
ProtoNum:=FindProto(PAnsiChar(ProtoNum));
- result:=CallProtoService(protos^[ProtoNum].name,PS_GETSTATUS,0,0);
+ result:=Proto_GetStatus(protos^[ProtoNum].name);
end;
function GetProtoStatusNum(ProtoNum:uint_ptr):integer;