r3362 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Feb 12 17:48:17 EST 2008


Author: div0
Date: 2008-02-12 17:48:17 -0500 (Tue, 12 Feb 2008)
New Revision: 3362

Modified:
   trunk/data/qcsrc/server/clientcommands.qc
Log:
need to forbid $ in votes


Modified: trunk/data/qcsrc/server/clientcommands.qc
===================================================================
--- trunk/data/qcsrc/server/clientcommands.qc	2008-02-12 20:47:36 UTC (rev 3361)
+++ trunk/data/qcsrc/server/clientcommands.qc	2008-02-12 22:48:17 UTC (rev 3362)
@@ -138,6 +138,8 @@
 		return TRUE;
 	if(strstrofs(cmd, "\r", 0) >= 0)
 		return TRUE;
+	if(strstrofs(cmd, "$", 0) >= 0)
+		return TRUE;
 	return FALSE;
 }
 




More information about the nexuiz-commits mailing list