Patch to LambdaMOO 1.8.0p2
Pavel Curtis (Pavel@parc.xerox.com)
Wed, 20 Mar 1996 09:00:27 PST
This patch fixes a server-crashing bug in the case where you call force_input()
on a non-negative but invalid object number.
In tasks.c, in the function do_command_task(), replace this line:
Objid location = db_object_location(tq->player);
with this:
Objid location = (valid(tq->player)
? db_object_location(tq->player)
: NOTHING);
I'm holding off on a 1.8.0p3 release for at least a week, waiting to see if any
more bug reports come in.
Pavel