gameServer/OfficialServer/DBInteraction.hs
changeset 2172 80d34c0b9dfe
parent 2155 d897222d3339
child 2184 f59f80e034b1
equal deleted inserted replaced
2171:8208946331ba 2172:80d34c0b9dfe
    64 				do
    64 				do
    65 					writeChan coreChan $ ClientAccountInfo (clUid, snd $ fromJust cacheEntry)
    65 					writeChan coreChan $ ClientAccountInfo (clUid, snd $ fromJust cacheEntry)
    66 					return accountsCache
    66 					return accountsCache
    67 
    67 
    68 		ClearCache -> return Map.empty
    68 		ClearCache -> return Map.empty
       
    69 		SendStats {} -> do
       
    70 			hPutStrLn hIn $ show q
       
    71 			hFlush hIn
       
    72 			return accountsCache
    69 	
    73 	
    70 	return updatedCache
    74 	return updatedCache
    71 	where
    75 	where
    72 		maybeException (Just a) = return a
    76 		maybeException (Just a) = return a
    73 		maybeException Nothing = ioError (userError "Can't read")
    77 		maybeException Nothing = ioError (userError "Can't read")