diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-07 20:23:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-07 20:23:30 +0300 |
commit | 5811219420fdedef8941584ef70fec403d012e4e (patch) | |
tree | 2f5e90bbd69a6499923b6207e5c9df51588d0fb8 /plugins/Utils.pas/mircontacts.pas | |
parent | f60c78abfbd5f279b30de729046b805bba8e00b0 (diff) |
Proto_GetAccount() for pascal plugins
Diffstat (limited to 'plugins/Utils.pas/mircontacts.pas')
-rw-r--r-- | plugins/Utils.pas/mircontacts.pas | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Utils.pas/mircontacts.pas b/plugins/Utils.pas/mircontacts.pas index 1ec228ce3e..1c3b614324 100644 --- a/plugins/Utils.pas/mircontacts.pas +++ b/plugins/Utils.pas/mircontacts.pas @@ -455,8 +455,7 @@ begin begin
if not anystatus then
begin
- StrCat(pc,PS_GETSTATUS);
- anystatus:=(CallService(pc,0,0)<>ID_STATUS_OFFLINE);
+ anystatus:=(Proto_GetStatus(pc)<>ID_STATUS_OFFLINE);
end;
if anystatus then
begin
|