gameServer/Actions.hs
changeset 7664 4bc4b739f6e0
parent 7600 31a177d2856c
child 7668 4cb423f42105
--- a/gameServer/Actions.hs	Tue Sep 04 11:09:23 2012 +0400
+++ b/gameServer/Actions.hs	Tue Sep 04 12:16:36 2012 +0400
@@ -246,7 +246,7 @@
     oldRoomName <- io $ room'sM rnc name ri
     let newRoomName = nick newMaster
     mapM_ processAction [
-        ModifyRoom (\r -> r{masterID = newMasterId, name = newRoomName}),
+        ModifyRoom (\r -> r{masterID = newMasterId, name = newRoomName, isRestrictedJoins = False, isRestrictedTeams = False}),
         ModifyClient2 newMasterId (\c -> c{isMaster = True}),
         AnswerClients [sendChan newMaster] ["ROOM_CONTROL_ACCESS", "1"]
         ]