From e624b1dcc719be421ed8530885ca1b259fe59fdf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 15 Mar 2014 09:15:41 +0000 Subject: PROTOACCOUNT::bIsVirtual - new flag to mark virtual protocols git-svn-id: http://svn.miranda-ng.org/main/trunk@8609 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Utils.pas/mirutils.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Utils.pas/mirutils.pas') diff --git a/plugins/Utils.pas/mirutils.pas b/plugins/Utils.pas/mirutils.pas index e035b6f8cd..dbd80d991e 100644 --- a/plugins/Utils.pas/mirutils.pas +++ b/plugins/Utils.pas/mirutils.pas @@ -707,7 +707,7 @@ begin p:=PPROTOACCOUNT(CallService(MS_PROTO_GETACCOUNT,0,lparam(@name))); if p=nil then result:=-2 // deleted - else if (p^.bIsEnabled=0) or p^.bDynDisabled then + else if (p^.bIsEnabled=0) or (p^.bDynDisabled<>0) then result:=-1; // disabled end else -- cgit v1.2.3