MOO-cows Mailing List Archive

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

BUG in ANSI 2.1



There was a slight bug in the previous 2.1 release.  Any cores or
installation scripts FTPed before February 16 will have this bug.

The easy fix:
  1) @chmod $ansi_utils:show_who_listing to a wizard.
    This won't hurt anything and will actually speed it up a little anyway
    but the code will still technically be incorrect (even thought it will
    work).

The correct fix:
  1) Change line 1 of $login:notify from:
         set_task_perms(caller_perms());
     to:
         (caller != $ansi_utils) && set_task_perms(caller_perms());

  2) Change part of line 116 in $ansi_utils:show_who_listing from:
         (!valid(caller))
     to:
         (caller==$login)

Sorry about that, I think it's the only one.

 *****************************************************************************
 *         Don Schwarz <darkowl@mcs.net>           *     PGP fingerprint:    *
 *          http://www.mcs.net/~darkowl            * 6E 3E B9 38 CC C2 CA CD *
 * -->Come to EnigMOO  (junior.wariat.org 7777)<-- * 4A ED 48 66 27 FA 1C 37 *
 *     Dark_Wiz @ EnigMOO, ForestMOO, MOOnShine    ***************************
 *  Dark_Owl @ everymoo          "The mice will see you now."  --HHGTTG      *
 *****************************************************************************




Home | Subject Index | Thread Index