Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: Patch: shutdown command



Hi,

it seems Mark doesn't know what he wants :-) 0.94.0 has my code for
the shutdown command, but no way to use the command. So, here is the
missing patch:

------------------------------ Cut ------------------------------

diff -C 5 -r crossfire-0.94.0/server/commands.c /usr/stud/stieber/crossfire/server/commands.c
*** crossfire-0.94.0/server/commands.c	Sun Feb  8 06:26:18 1998
--- /usr/stud/stieber/crossfire/server/commands.c	Wed Feb 18 12:03:23 1998
***************
*** 77,86 ****
--- 77,87 ----
    {"say", command_say,		0.0},
    {"scroll", command_scroll,	0.0},
    {"shout", command_shout,	0.0},
    {"show", command_show,	0.0},
    {"showinvicon", command_show_inv_icon, 0.0},
+   {"shutdown", command_shutdown, 0.0},
  #ifdef ALLOW_SKILLS
    {"skills", command_skills,	0.0},	/* shows player list of skills */
    {"use_skill", command_uskill, 1.0},
    {"ready_skill", command_rskill, 1.0},
  #endif
***************
*** 145,154 ****
--- 146,156 ----
    {"name", command_name,0.0},
    {"protocol", command_protocol,0.0},
    {"quit", command_quit,0.0},
    {"set", command_set,0.0},
    {"shout", command_shout,0.0},
+   {"shutdown", command_shutdown, 0.0},
    {"strings", command_strings,0.0},
    {"sync", command_sync,0.0},
    {"tell", command_tell,0.0},
    {"time", command_time,0.0},
    {"unset", command_unset,0.0},


-- 
Christian (Icho/Gandhi/Ribald @sunbroy53.informatik.tu-muenchen.de, 13326)
[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]