r3680 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jun 2 14:24:43 EDT 2008


Author: div0
Date: 2008-06-02 14:24:40 -0400 (Mon, 02 Jun 2008)
New Revision: 3680

Modified:
   trunk/data/qcsrc/server/cl_client.qc
Log:
just to make sure the same bug doesn't hit here too


Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc	2008-06-02 18:23:25 UTC (rev 3679)
+++ trunk/data/qcsrc/server/cl_client.qc	2008-06-02 18:24:40 UTC (rev 3680)
@@ -1621,7 +1621,8 @@
 	{
 		if(cvar("sv_eventlog"))
 			GameLogEcho(strcat(":name:", ftos(self.playerid), ":", self.netname), TRUE);
-		strunzone(self.netname_previous);
+		if(self.netname_previous)
+			strunzone(self.netname_previous);
 		self.netname_previous = strzone(self.netname);
 	}
 




More information about the nexuiz-commits mailing list