mudmail question

From: Kras Kresh (kras_kresh@hotmail.com)
Date: 04/11/02


in scan_file(), would it be safe to change:


if (block_type == HEADER_BLOCK)
index_mail

else if (block_type  == DELETED_BLOCK)
push_free_list


to:

if (block_type == DELETED_BLOCK || (block_type == HEADER_BLOCK &&
!get_name_by_id(next_block.header_data.to)))
push_free_list
else if (block_type == HEADER_BLOCK)
index_mail

The way I see it, the way I put it will check if the player still exists and
if he doesn't, allow writing over the space. Or is it not safe?

What about if i wanted to receive someone elses mail? Would it be safe to
use "set self idnum <player's idnum>" and then receive the mail and change
my idnum back? Would that be safe with or without a reboot?


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT