r2179 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Feb 9 16:28:08 EST 2007


Author: div0
Date: 2007-02-09 16:28:08 -0500 (Fri, 09 Feb 2007)
New Revision: 2179

Modified:
   trunk/data/qcsrc/server/clientcommands.qc
Log:
deleted clientcommands check, now just let all through (that is now safe in DP)


Modified: trunk/data/qcsrc/server/clientcommands.qc
===================================================================
--- trunk/data/qcsrc/server/clientcommands.qc	2007-02-08 21:43:01 UTC (rev 2178)
+++ trunk/data/qcsrc/server/clientcommands.qc	2007-02-09 21:28:08 UTC (rev 2179)
@@ -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