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