summaryrefslogtreecommitdiff
path: root/plugins/Watrack/proto
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/Watrack/proto
parentf60c78abfbd5f279b30de729046b805bba8e00b0 (diff)
Proto_GetAccount() for pascal plugins
Diffstat (limited to 'plugins/Watrack/proto')
-rw-r--r--plugins/Watrack/proto/proto.pas3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas
index d5a35157b1..33098c7f42 100644
--- a/plugins/Watrack/proto/proto.pas
+++ b/plugins/Watrack/proto/proto.pas
@@ -113,9 +113,8 @@ begin
begin
StrCopy(PAnsiChar(buf),Proto_GetProtoName(ccs^.hContact));
i:=DBReadWord(ccs^.hContact,PAnsiChar(buf),'ApparentMode');
- StrCat(PAnsiChar(buf),PS_GETSTATUS);
if (i=ID_STATUS_OFFLINE) or
- ((i=0) and (CallService(PAnsiChar(buf),0,0)=ID_STATUS_INVISIBLE)) then
+ ((i=0) and (Proto_GetStatus(PAnsiChar(buf))=ID_STATUS_INVISIBLE)) then
begin
result:=Proto_ChainRecv(wParam,ccs);
end