Date: Sunday July 2, 2000 @ 20:07 Author: cameron Update of /home/netrek/cvsroot/Vanilla/ntserv In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv8831 Modified Files: ntscmds.c Log Message: test your compiles before you commit ;-} **************************************** Index: Vanilla/ntserv/ntscmds.c diff -u Vanilla/ntserv/ntscmds.c:1.13 Vanilla/ntserv/ntscmds.c:1.14 --- Vanilla/ntserv/ntscmds.c:1.13 Sun Jul 2 20:01:51 2000 +++ Vanilla/ntserv/ntscmds.c Sun Jul 2 20:07:16 2000 @@ -1,4 +1,4 @@ -/* $Id: ntscmds.c,v 1.13 2000/07/03 01:01:51 cameron Exp $ +/* $Id: ntscmds.c,v 1.14 2000/07/03 01:07:16 cameron Exp $ */ /* @@ -1150,7 +1150,8 @@ system(command); pmessage(who, MINDIV, addr, "admin: ban for player %s requested.", two); } else if (!strcmp(one, "reset")) { - system("tools/admin/reset %s", p->p_full_hostname); + sprintf(command, "tools/admin/reset %s", p->p_full_hostname); + system(command); pmessage(who, MINDIV, addr, "admin: galactic has been reset."); } else { pmessage(who, MINDIV, addr, "admin: what? kill/quit/ban/reset, lowercase");