gameServer/HWProtoInRoomState.hs
changeset 2304 a6e733ad0366
parent 2245 c011aecc95e5
child 2337 723f1cbe2ef3
--- a/gameServer/HWProtoInRoomState.hs	Wed Aug 12 12:27:08 2009 +0000
+++ b/gameServer/HWProtoInRoomState.hs	Wed Aug 12 12:44:42 2009 +0000
@@ -159,7 +159,7 @@
 
 
 handleCmd_inRoom clID clients rooms ["EM", msg] =
-	if teamsInGame client > 0 then
+	if (teamsInGame client > 0) && (isLegalNetCommand msg) then
 		[ModifyRoom (\r -> r{roundMsgs = roundMsgs r |> msg}),
 		AnswerOthersInRoom ["EM", msg]]
 	else