gameServer/Actions.hs
changeset 9868 53d1b92db6ce
parent 9786 e33ee5ef5d9d
child 9950 2759212a27de
child 9973 7589978c9912
--- a/gameServer/Actions.hs	Fri Dec 27 01:22:42 2013 +0400
+++ b/gameServer/Actions.hs	Fri Dec 27 01:23:12 2013 +0400
@@ -717,8 +717,9 @@
 
 processAction (CheckSuccess info) = do
     Just (CheckInfo fileName teams) <- client's checkInfo
+    p <- client's clientProto
     si <- gets serverInfo
-    io $ writeChan (dbQueries si) $ StoreAchievements (B.pack fileName) (map toPair teams) info
+    io $ writeChan (dbQueries si) $ StoreAchievements p (B.pack fileName) (map toPair teams) info
     io $ moveCheckedRecord fileName
     where
         toPair t = (teamname t, teamowner t)