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

(async_new_name): Removed the victim_c argument from all calls to access_perm.

parent e1fc568d
/*
* $Id: send-async.c,v 0.32 1999/07/01 21:23:38 ceder Exp $
* $Id: send-async.c,v 0.33 1999/07/05 06:59:17 ceder Exp $
* Copyright (C) 1991, 1993-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -34,7 +34,7 @@
#endif
static const char *
rcsid = "$Id: send-async.c,v 0.32 1999/07/01 21:23:38 ceder Exp $";
rcsid = "$Id: send-async.c,v 0.33 1999/07/05 06:59:17 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -203,7 +203,7 @@ async_new_name(Conf_no conf_no,
/* Check that cptr has enough privileges to know
anything about the conference. */
if (cptr->username_valid == TRUE &&
(access_perm(conf_no, NULL, cptr, read_protected) > none ||
(access_perm(conf_no, cptr, read_protected) > none ||
ENA_C(cptr, admin, 2) || /* OK -- Uses ENA_C */
ENA_C(cptr, wheel, 8))) /* OK -- Uses ENA_C */
{
......
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