about summary refs log tree commit diff
path: root/src/game/server
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-08-12 15:44:11 +0200
committeroy <Tom_Adams@web.de>2010-08-12 15:44:11 +0200
commitf494d344a9e5c420ed6f17fec71d0a48ad0dd970 (patch)
tree274e594d12ee6ff3bbd8d230968fc99602c9d161 /src/game/server
parent7503c642379cec7a2e14fe6a516d69a1f4d6d94a (diff)
downloadzcatch-f494d344a9e5c420ed6f17fec71d0a48ad0dd970.tar.gz
zcatch-f494d344a9e5c420ed6f17fec71d0a48ad0dd970.zip
removed some not longer needed stuff
Diffstat (limited to 'src/game/server')
-rw-r--r--src/game/server/gamecontext.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp
index 8b8db59a..3f7a5b14 100644
--- a/src/game/server/gamecontext.cpp
+++ b/src/game/server/gamecontext.cpp
@@ -746,15 +746,6 @@ void CGameContext::OnMessage(int MsgId, CUnpacker *pUnpacker, int ClientId)
 		p->m_TeeInfos.m_ColorBody = pMsg->m_ColorBody;
 		p->m_TeeInfos.m_ColorFeet = pMsg->m_ColorFeet;
 
-		// check for invalid chars
-		unsigned char *pName = (unsigned char *)pMsg->m_pName;
-		while (*pName)
-		{
-			if(*pName < 32)
-				*pName = ' ';
-			pName++;
-		}
-
 		// copy old name
 		char aOldName[MAX_NAME_LENGTH];
 		str_copy(aOldName, Server()->ClientName(ClientId), MAX_NAME_LENGTH);