summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-03-30 19:42:37 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-03-30 19:42:37 +0000
commit37028d5330f51ca51fbbe75730125dbbb3b09e68 (patch)
treed7d27ececd1a67c242dfd0091ae8ccbf5d7d5a22
parent6fb7dd3267553586edbcc900492d6699c654b83a (diff)
IsContactActive function fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8797 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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 567be873dc..1f79cc1d4e 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 or p^.bDynDisabled then
+ else if (not p^.bIsEnabled) or p^.bDynDisabled then
result:=-1; // disabled
end
else