[Circle] [Code] do_who menu choice

grond@grotl.com
Date: 11/14/96


ER>This is the code I added in interpreter.c:

ER>    case '5':
ER>      do_who(d->character, 0, 0, 0);
ER>      SEND_TO_Q("Press Return...\r\n", d);
ER>      STATE(d) = CON_RMOTD;
ER>      break;

ER>Problem is, it gives me a seg fault when you choose 5;(

First, isn't case 5 the confirm delete case?

Our is case '6':

Second the do_who line should read:

do_who(d->character, "", 0, 0);

That should work. Assuming you're using the do_who patch from the ftp
site.

Grond

SENT FROM: GAME ROOM ON THE LAKE BBS (GROTL.COM)
YOUR PLACE FOR ONLINE ENTERTAINMENT
PHONE: (704) 664-6742


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST