--- 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"]
]