From 0ebb1294ecaf4d62ad6b3e911be6275248c05354 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 Nov 2016 21:02:54 +0300 Subject: correct type for ServiceExists() - bool --- plugins/Utils.pas/protocols.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Utils.pas/protocols.pas') 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; -- cgit v1.2.3