gameServer/Actions.hs
changeset 9060 1661c5ccb625
parent 9035 e84d42a4311c
child 9062 a65492ca1587
equal deleted inserted replaced
9059:426aae3ffccd 9060:1661c5ccb625
   218                 , isRestrictedJoins = False
   218                 , isRestrictedJoins = False
   219                 , isRestrictedTeams = False
   219                 , isRestrictedTeams = False
   220                 , isRegisteredOnly = False}
   220                 , isRegisteredOnly = False}
   221                 )
   221                 )
   222         , ModifyClient2 newMasterId (\c -> c{isMaster = True})
   222         , ModifyClient2 newMasterId (\c -> c{isMaster = True})
       
   223         , ModifyClient (\c -> c{isMaster = False})
   223         , AnswerClients [sendChan newMaster] ["ROOM_CONTROL_ACCESS", "1"]
   224         , AnswerClients [sendChan newMaster] ["ROOM_CONTROL_ACCESS", "1"]
   224         , AnswerClients thisRoomChans ["CLIENT_FLAGS", "-h", oldMaster]
   225         , AnswerClients thisRoomChans ["CLIENT_FLAGS", "-h", oldMaster]
   225         , AnswerClients thisRoomChans ["CLIENT_FLAGS", "+h", nick newMaster]
   226         , AnswerClients thisRoomChans ["CLIENT_FLAGS", "+h", nick newMaster]
   226         ]
   227         ]
   227 
   228