summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-15 09:15:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-15 09:15:41 +0000
commite624b1dcc719be421ed8530885ca1b259fe59fdf (patch)
treec394f1acd8a324a16523620304bd2b8d8fafd0a6 /plugins
parent4ce98069fa28c62534c1c86f00b644fc29f7026d (diff)
PROTOACCOUNT::bIsVirtual - new flag to mark virtual protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@8609 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Utils.pas/mirutils.pas2
1 files changed, 1 insertions, 1 deletions
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