> @@ -1122,6 +1122,7 @@ ACMD(do_purge) > mudlog(buf, BRF, LVL_GOD, TRUE); > if (vict->desc) { > STATE(vict->desc) = CON_DISCONNECT; > + vict->desc->character = NULL; > vict->desc = NULL; > } > } my act.wizard is this ... in do_purge ... if (!IS_NPC(vict)) { sprintf(buf, "(GC) %s has purged %s.", GET_NAME(ch), GET_NAME(vict)); mudlog(buf, BRF, LVL_GOD, TRUE); if (vict->desc) { close_socket(vict->desc); vict->desc = NULL; } } extract_char(vict, NOWHERE); .. where i've got close_socket, you have STATE(vict..) is my code wrong then. It was bp11 originally... Jussy +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST