summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-03-15 09:36:30 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-03-15 09:36:30 +0000
commit9ba2c4ec23e4079b69988719b56d8dd2f5d132ae (patch)
treec9334a70b41b86ac4943d1aa525defd62cf8f808 /plugins/Utils.pas
parentd2a2bfdd7c8eed0df63ad5f0c423da54c26509cc (diff)
ghazan version fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8612 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils.pas')
-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 dbd80d991e..567be873dc 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<>0) then
+ else if p^.bIsEnabled or p^.bDynDisabled then
result:=-1; // disabled
end
else