Commit 1d78fc2f authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(get_person_stat): Added a comment that explains why get-person-stat

	is allowed without logging in.
parent 36346fd9
/*
* $Id: person.c,v 0.86 2003/08/23 16:38:15 ceder Exp $
* $Id: person.c,v 0.87 2004/12/13 10:20:15 ceder Exp $
* Copyright (C) 1991-1999, 2001-2003 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -761,6 +761,8 @@ get_person_stat (Pers_no person,
enum access acc;
CHK_CONNECTION(FAILURE);
/* You can do this without being logged in, so that you can print
"last login from foo". */
GET_P_STAT(p_orig, person, FAILURE);
acc = access_perm(person, active_connection, 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