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

(add_recipient): FIXME comment added.

parent ddb57bfb
/*
* $Id: text.c,v 0.98 2002/11/25 16:26:41 ceder Exp $
* $Id: text.c,v 0.99 2003/01/07 07:53:14 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -2552,6 +2552,8 @@ add_recipient(Text_no text_no,
return FAILURE;
}
/* FIXME (bug 966): We should check if ACTPERS is a supervisor
of t_stat->author, not if they are equal. */
if (t_stat->author != ACTPERS
&& !is_supervisor(conf_no, ACTPERS, ACT_P)
&& !ENA(wheel, 8)) /* OK -- In an RPC call */
......
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