# Bug in @send in LambdaCore25Dec95.db

Christopher Unkel (cunkel@us.itd.umich.edu)
Thu, 21 Mar 1996 11:30:32 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    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/