MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: Bug in @send in LambdaCore25Dec95.db
On Wed, 20 Mar 1996 wizkid@borg.reshall.ksu.edu wrote:
> For posterity, here are the changes I made.
>
> #49:ok this none this
>
> (Out)
> 4: elseif (length(c = callers()) < 2 ? player ==
> this.active[who] | c[2][1] == this || ($perm_utils:controls(c[2][3],
> this.active[who]) || c[2][3] == $generic_editor.owner))
> ---
> (In)
> 4: elseif (length(c = callers()) < 2 ? player ==
> this.active[who] | c[2][1] == this || (c[2][1] == #-1 && c[2][3] ==
> #-1 && c[2][4] == #-1) || ($perm_utils:controls(c[2][3],
> this.active[who]) || c[2][3] == $generic_editor.owner))
This will eliminate the tracebacks. But (someone correct me if I'm
wrong) it doesn't perform the permission check that it used to. If
callers()[2] is from a built-in, then it should look at whatever the next
element of callers() that does *not* represent a built-in, and apply the
:controls permission check to that entry.
--Chris cunkel@engin.umich.edu
ResComp Network Support Technician, Bursley Hall
"Invisibility is in the eye of the beholder."
Home Page: http://www-personal.engin.umich.edu/~cunkel/
Follow-Ups:
References:
Home |
Subject Index |
Thread Index