summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas/protocols.pas
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-27 21:02:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-27 21:02:54 +0300
commit0ebb1294ecaf4d62ad6b3e911be6275248c05354 (patch)
tree5560ce9ecc74ab5357279cd15aa9704d4d9d8c30 /plugins/Utils.pas/protocols.pas
parentc6b6e8a4b79e906f77b1f3be43e939316e1d912f (diff)
correct type for ServiceExists() - bool
Diffstat (limited to 'plugins/Utils.pas/protocols.pas')
-rw-r--r--plugins/Utils.pas/protocols.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Utils.pas/protocols.pas b/plugins/Utils.pas/protocols.pas
index f4526a6c09..97a972dbe0 100644
--- a/plugins/Utils.pas/protocols.pas
+++ b/plugins/Utils.pas/protocols.pas
@@ -448,11 +448,11 @@ begin
p:=StrCopyE(buf,name);
StrCopy(p,PS_GETCUSTOMSTATUSEX);
- if ServiceExists(buf)<>0 then
+ if ServiceExists(buf) then
status:=status or psf_icq;
StrCopy(p,PS_SET_LISTENINGTO);
- if ServiceExists(buf)<>0 then
+ if ServiceExists(buf) then
status:=status or psf_tunes;
end;