MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: 1.8.0 upgrade core fixes?



Judy Anderson wrote:
> 
>    Date: Wed, 20 Mar 1996 05:59:45 PST
>    From: Jacqueline Hamilton <kira@metronet.com>
> 
>    Also, could someone please send me the fix for the editors spamming
>    people with the editor room desc when they enter the editor?
> 
> Someone mentioned this bug to me---but I can't get this bug to occur.
> Admittedly it's on JHM, which has a significantly hacked core, but
> the editors (specifically :enterfunc, :look_self, and :description,
> which would be the relevant verbs here) have not been changed.  So I'm
> curious just *how* such a problem could exist.
> 

In the current LambdaCore, $generic_editor:description, line 5 checks callers for 'look_self' and 
changes a variable if it's something else. This doesn't take pass() into account. My change:

elseif(!(c[2] in {"look_self","pass"}))

fixes the problem.

 - M	
-- 
 ____    ____  Martian
|    \  /    | wsmyth@wichita.fn.net
|  +-\\//-+  | awsmyth@mccoy.cs.twsu.edu      Martian #96675 @ LambdaMOO
|  |  \/  |  | themartian@aol.com        telnet://lambda.xerox.com:8888 
|__|artian|__| ** One more chain letter, and I react with violence. **


References:

Home | Subject Index | Thread Index