gameServer/HWProtoLobbyState.hs
changeset 13839 346cba4465b9
parent 13831 07b3dacd00f8
child 14386 32e8c81ca35c
equal deleted inserted replaced
13836:b07610de9957 13839:346cba4465b9
   225 
   225 
   226 handleCmd_lobby ["STATS"] = serverAdminOnly $
   226 handleCmd_lobby ["STATS"] = serverAdminOnly $
   227     return [Stats]
   227     return [Stats]
   228 
   228 
   229 handleCmd_lobby (s:_) = return [ProtocolError $ "Incorrect command '" `B.append` s `B.append` "' (state: in lobby)"]
   229 handleCmd_lobby (s:_) = return [ProtocolError $ "Incorrect command '" `B.append` s `B.append` "' (state: in lobby)"]
       
   230 
       
   231 handleCmd_lobby [] = return [ProtocolError "Empty command (state: in lobby)"]