gameServer/HWProtoNEState.hs
changeset 2868 ccb20ecd3503
parent 2867 9be6693c78cb
child 3435 4e4f88a7bdf2
equal deleted inserted replaced
2867:9be6693c78cb 2868:ccb20ecd3503
    45     where
    45     where
    46         client = clients IntMap.! clID
    46         client = clients IntMap.! clID
    47         adminNotice = [AnswerThisClient ["ADMIN_ACCESS"] | isAdministrator client]
    47         adminNotice = [AnswerThisClient ["ADMIN_ACCESS"] | isAdministrator client]
    48 
    48 
    49 
    49 
    50 --handleCmd_NotEntered _ _ _ ["DUMP"] =
    50 handleCmd_NotEntered clID clients _ ["DUMP"] =
    51 --	[Dump]
    51     if isAdministrator (clients IntMap.! clID) then [Dump] else []
    52 
    52 
    53 
    53 
    54 handleCmd_NotEntered clID _ _ _ = [ProtocolError "Incorrect command (state: not entered)"]
    54 handleCmd_NotEntered clID _ _ _ = [ProtocolError "Incorrect command (state: not entered)"]