gameServer/Actions.hs
changeset 9060 1661c5ccb625
parent 9035 e84d42a4311c
child 9062 a65492ca1587
--- a/gameServer/Actions.hs	Mon May 27 14:41:48 2013 -0400
+++ b/gameServer/Actions.hs	Mon May 27 23:20:39 2013 +0400
@@ -220,6 +220,7 @@
                 , isRegisteredOnly = False}
                 )
         , ModifyClient2 newMasterId (\c -> c{isMaster = True})
+        , ModifyClient (\c -> c{isMaster = False})
         , AnswerClients [sendChan newMaster] ["ROOM_CONTROL_ACCESS", "1"]
         , AnswerClients thisRoomChans ["CLIENT_FLAGS", "-h", oldMaster]
         , AnswerClients thisRoomChans ["CLIENT_FLAGS", "+h", nick newMaster]