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

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

parent e2b0a799
/*
* $Id: regex-match.c,v 1.26 1999/07/01 21:23:37 ceder Exp $
* $Id: regex-match.c,v 1.27 1999/07/05 06:59:42 ceder Exp $
* Copyright (C) 1992-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -33,7 +33,7 @@
#endif
static const char *
rcsid = "$Id: regex-match.c,v 1.26 1999/07/01 21:23:37 ceder Exp $";
rcsid = "$Id: regex-match.c,v 1.27 1999/07/05 06:59:42 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -127,7 +127,7 @@ lookup_regexp (Connection *conn,
{
type = cached_get_conf_type(conf_no);
if ((type.letter_box ? want_persons : want_confs)
&& access_perm(conf_no, NULL, conn, read_protected) > none)
&& access_perm(conf_no, conn, read_protected) > none)
{
name = cached_get_name(conf_no);
switch ( re_search (&pat_buf, name.string, s_strlen(name), 0,
......
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