gameServer/HWProtoInRoomState.hs
changeset 6912 831416764d2d
parent 6815 ed63275e02b7
child 7266 74ad631a72bf
equal deleted inserted replaced
6911:1cda333286e0 6912:831416764d2d
   276     chans <- roomSameClanChans
   276     chans <- roomSameClanChans
   277     return [AnswerClients chans ["EM", engineMsg cl]]
   277     return [AnswerClients chans ["EM", engineMsg cl]]
   278     where
   278     where
   279         engineMsg cl = toEngineMsg $ B.concat ["b", nick cl, "(team): ", msg, "\x20\x20"]
   279         engineMsg cl = toEngineMsg $ B.concat ["b", nick cl, "(team): ", msg, "\x20\x20"]
   280 
   280 
       
   281 handleCmd_inRoom ["LIST"] = return [] -- for old clients (<= 0.9.17)
       
   282 
   281 handleCmd_inRoom (s:_) = return [ProtocolError $ "Incorrect command '" `B.append` s `B.append` "' (state: in room)"]
   283 handleCmd_inRoom (s:_) = return [ProtocolError $ "Incorrect command '" `B.append` s `B.append` "' (state: in room)"]
   282 
   284 
   283 handleCmd_inRoom [] = return [ProtocolError "Empty command (state: in room)"]
   285 handleCmd_inRoom [] = return [ProtocolError "Empty command (state: in room)"]