Commit cf5f33a6 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

fast_access_perm() now returns 'error' if the conference does not exist.

parent eb519469
......@@ -613,6 +613,9 @@ fast_access_perm(Conf_no victim)
{
Conf_type conf_type;
if ( !cached_conf_exists(victim) )
return error;
if ( ACTPERS != 0 && (ENA(admin, 2) || ENA(wheel,8) || ACTPERS == victim) )
return unlimited;
......
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