r4769 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Oct 16 09:48:07 EDT 2008


Author: div0
Date: 2008-10-16 09:48:07 -0400 (Thu, 16 Oct 2008)
New Revision: 4769

Modified:
   trunk/data/qcsrc/server/vote.qc
Log:
fix bug that allowed ALL votes...


Modified: trunk/data/qcsrc/server/vote.qc
===================================================================
--- trunk/data/qcsrc/server/vote.qc	2008-10-16 13:23:09 UTC (rev 4768)
+++ trunk/data/qcsrc/server/vote.qc	2008-10-16 13:48:07 UTC (rev 4769)
@@ -66,9 +66,7 @@
 	entity victim;
 	vote_argc = tokenize_sane(vote);
 
-	print(">>", vote, "<<\n");
-
-	if(!VoteAllowed(argv(0)))
+	if(!VoteAllowed(strcat1(argv(0))))
 	{
 		return FALSE;
 	}




More information about the nexuiz-commits mailing list