Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -612,7 +612,10 @@ Access ...@@ -612,7 +612,10 @@ Access
fast_access_perm(Conf_no victim) fast_access_perm(Conf_no victim)
{ {
Conf_type conf_type; Conf_type conf_type;
if ( !cached_conf_exists(victim) )
return error;
if ( ACTPERS != 0 && (ENA(admin, 2) || ENA(wheel,8) || ACTPERS == victim) ) if ( ACTPERS != 0 && (ENA(admin, 2) || ENA(wheel,8) || ACTPERS == victim) )
return unlimited; return unlimited;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment