summaryrefslogtreecommitdiff
path: root/plugins/Watrack/proto/proto.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/proto/proto.pas')
-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