Re: [CODE] Autoreceiving Mudmail[BUGFIX]

From: Nicholas S. Wourms (Prospero@carol.net)
Date: 01/26/97


To any newbies who may not have caught the syntax error, here's a quick fix.
>To mail.c
>---------
>to voids at top:
> void pmail_check (void);
>
>to externs at top:
>extern struct descriptor_data *descriptor_list;
>
>to bottom of file:
>void pmail_check (void) {
>
>sh_int obj_vnum = NOTHING;
>struct descriptor_data *d;
>struct obj_data *obj, *mail_obj;
>struct char_data *ch;
>
>for (d = descriptor_list; d; d = d->next) {
>
>if (STATE(d) == CON_PLAYING)
>  if(d->character)
                  ^^^^-----Add a ')' here
+-----------------------------------------------------------+
| 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