Date:	Wednesday January 3, 2001 @ 4:00
Author:	unbelver

Update of /home/netrek/cvsroot/Vanilla/ntserv
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv23226

Modified Files:
	ntscmds.c 
Log Message:

Completed the string parsing left uncompleted in previous commit.

--Carlos V.




****************************************

Index: Vanilla/ntserv/ntscmds.c
diff -u Vanilla/ntserv/ntscmds.c:1.15 Vanilla/ntserv/ntscmds.c:1.16
--- Vanilla/ntserv/ntscmds.c:1.15	Wed Jan  3 03:15:19 2001
+++ Vanilla/ntserv/ntscmds.c	Wed Jan  3 04:00:03 2001
@@ -1,4 +1,4 @@
-/* $Id: ntscmds.c,v 1.15 2001/01/03 09:15:19 unbelver Exp $
+/* $Id: ntscmds.c,v 1.16 2001/01/03 10:00:03 unbelver Exp $
  */
 
 /*
@@ -1151,11 +1151,12 @@
       victim->candock = 0;
       pmessage(whofrom, MINDIV, addr, "Slot %c no longer allowed to dock to SB", *who);
     }
-  else
-    {
-      victim->candock = 1;
-      pmessage(whofrom, MINDIV, addr, "Slot %c is allowed to dock to SB", *who);
-    }
+  else if ( !strcmp("off", what) )
+         {
+           victim->candock = 1;
+           pmessage(whofrom, MINDIV, addr, "Slot %c is allowed to dock to SB", *who);
+         }
+       else pmessage(whofrom, MINDIV, addr, "nodock usage: nodock 0 on|off");
 }
 
 void do_admin(char *comm, struct message *mess)