Make server accpet TEAM_CHAT protocol command, and act like on CHAT command for now
authorunc0rr
Sun, 28 Jun 2009 21:43:46 +0000
changeset 2207 aeea95909aba
parent 2206 067c954f09ef
child 2208 7d1a084d11ab
Make server accpet TEAM_CHAT protocol command, and act like on CHAT command for now
gameServer/HWProtoInRoomState.hs
--- 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]