author | unc0rr |
Sat, 05 Feb 2011 23:37:25 +0300 | |
changeset 4923 | c7829611c682 |
parent 4922 | 89777ce0d273 |
child 4924 | 616b618814b5 |
--- a/gameServer/Actions.hs Sat Feb 05 23:33:10 2011 +0300 +++ b/gameServer/Actions.hs Sat Feb 05 23:37:25 2011 +0300 @@ -325,7 +325,7 @@ case info of HasAccount passwd isAdmin -> do chan <- client's sendChan - mapM_ processAction [AnswerClients [chan] ["ASKPASSWORD"], ModifyClient (\c -> c{webPassword = passwd})] + mapM_ processAction [AnswerClients [chan] ["ASKPASSWORD"], ModifyClient (\c -> c{webPassword = passwd, isAdministrator = isAdmin})] Guest -> do processAction JoinLobby Admin -> do