Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
dac05a77
Commit
dac05a77
authored
Jan 07, 2003
by
Per Cederqvist
Browse files
(add_recipient): FIXME comment added.
parent
ddb57bfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/text.c
View file @
dac05a77
/*
* $Id: text.c,v 0.9
8
200
2/11/25 16:26:41
ceder Exp $
* $Id: text.c,v 0.9
9
200
3/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 */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment