Commit b483113b authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fix to return value.

parent 7468b061
......@@ -963,7 +963,7 @@ sub AccessCheck($$$)
my ($self, $user, $access_type) = @_;
# Must be a real reference.
return -1
return 0
if (! ref($self));
if ($access_type < TB_EXPT_MIN ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment