r2181 - branches/nexuiz-2.0/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Feb 13 18:10:58 EST 2007


Author: div0
Date: 2007-02-13 18:10:57 -0500 (Tue, 13 Feb 2007)
New Revision: 2181

Modified:
   branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc
Log:
-clientcommands check (engine can do it now)


Modified: branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc	2007-02-13 13:40:32 UTC (rev 2180)
+++ branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc	2007-02-13 23:10:57 UTC (rev 2181)
@@ -386,6 +386,7 @@
 			wordwrap_sprint(cmd, 1111);
 	} else {
 		cmd = argv(0);
+		/* checks not needed any more since DP has separated clientcommands and regular commands
 		if(cmd != "status")
 		if(cmd != "name")
 		//if(cmd != "say") // handled above
@@ -407,6 +408,7 @@
 			ServerConsoleEcho(strcat("WARNING: Invalid clientcommand by ", self.netname, ": ", s), TRUE);
 			return;
 		}
+		*/
 		clientcommand(self,s);
 	}
 }




More information about the nexuiz-commits mailing list