gameServer/HWProtoInRoomState.hs
changeset 2207 aeea95909aba
parent 2126 cb249fa8e3da
child 2245 c011aecc95e5
--- a/gameServer/HWProtoInRoomState.hs	Sun Jun 28 18:59:26 2009 +0000
+++ b/gameServer/HWProtoInRoomState.hs	Sun Jun 28 21:43:46 2009 +0000
@@ -20,6 +20,12 @@
 		clientNick = nick $ clients IntMap.! clID
 
 
+handleCmd_inRoom clID clients _ ["TEAM_CHAT", msg] =
+	[AnswerOthersInRoom ["TEAM_CHAT", clientNick, msg]]
+	where
+		clientNick = nick $ clients IntMap.! clID
+
+
 handleCmd_inRoom clID clients rooms ["PART"] =
 	if isMaster client then
 		[RemoveRoom]