gameServer/HWProtoLobbyState.hs
changeset 13834 346cba4465b9
parent 13826 07b3dacd00f8
child 14381 32e8c81ca35c
equal deleted inserted replaced
13831:b07610de9957 13834: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)"]