Commit e1fc568d authored by Per Cederqvist's avatar Per Cederqvist

(login_old): Removed the conf_c argument from all calls to is_supervisor.

(login): Likewise.
(disconnect): Likewise.
parent 15082c80
/*
* $Id: session.c,v 0.53 1999/06/26 15:49:20 ceder Exp $
* $Id: session.c,v 0.54 1999/07/05 06:58:57 ceder Exp $
* Copyright (C) 1991-1994, 1996-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -34,7 +34,7 @@
#endif
static const char *
rcsid = "$Id: session.c,v 0.53 1999/06/26 15:49:20 ceder Exp $";
rcsid = "$Id: session.c,v 0.54 1999/07/05 06:58:57 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -135,7 +135,7 @@ login_old (Pers_no pers_no,
}
#endif
if ( !is_supervisor(pers_no, NULL, ACTPERS, ACT_P) &&
if ( !is_supervisor(pers_no, ACTPERS, ACT_P) &&
!ENA(wheel, 8) && /* OK -- In an RPC call */
chk_passwd(pers_p->pwd, passwd) == FAILURE )
{
......@@ -218,7 +218,7 @@ login (Pers_no pers_no,
}
#endif
if ( !is_supervisor(pers_no, NULL, ACTPERS, ACT_P) &&
if ( !is_supervisor(pers_no, ACTPERS, ACT_P) &&
!ENA(wheel, 8) && /* OK -- In an RPC call */
chk_passwd(pers_p->pwd, passwd) == FAILURE )
{
......@@ -763,7 +763,7 @@ disconnect (Session_no session_no)
if ( session_no == active_connection->session_no ||
session_no == 0 ||
ENA(wheel, 8) || /* OK -- In an RPC call */
is_supervisor(cptr->pers_no, NULL, ACTPERS, ACT_P) == TRUE
is_supervisor(cptr->pers_no, ACTPERS, ACT_P) == TRUE
)
{
add_to_kill_list(cptr);
......
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