r3320 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jan 30 17:26:20 EST 2008
Author: div0
Date: 2008-01-30 17:26:19 -0500 (Wed, 30 Jan 2008)
New Revision: 3320
Modified:
trunk/data/qcsrc/server/clientcommands.qc
Log:
oops... inverted logic in VoteCheckNasty
Modified: trunk/data/qcsrc/server/clientcommands.qc
===================================================================
--- trunk/data/qcsrc/server/clientcommands.qc 2008-01-30 22:24:21 UTC (rev 3319)
+++ trunk/data/qcsrc/server/clientcommands.qc 2008-01-30 22:26:19 UTC (rev 3320)
@@ -133,12 +133,12 @@
float VoteCheckNasty(string cmd)
{
if(strstrofs(cmd, ";", 0) >= 0)
- return FALSE;
+ return TRUE;
if(strstrofs(cmd, "\n", 0) >= 0)
- return FALSE;
+ return TRUE;
if(strstrofs(cmd, "\r", 0) >= 0)
- return FALSE;
- return TRUE;
+ return TRUE;
+ return FALSE;
}
string GetKickVoteVictim_newcommand;
More information about the nexuiz-commits
mailing list