diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Utils.pas/mirutils.pas | 2 |
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
|