--- a/gameServer/OfficialServer/DBInteraction.hs Tue May 04 21:30:25 2010 +0000
+++ b/gameServer/OfficialServer/DBInteraction.hs Wed May 05 08:01:37 2010 +0000
@@ -21,7 +21,7 @@
localAddressList = ["127.0.0.1", "0:0:0:0:0:0:0:1", "0:0:0:0:0:ffff:7f00:1"]
-fakeDbConnection serverInfo = do
+fakeDbConnection serverInfo = forever $ do
q <- readChan $ dbQueries serverInfo
case q of
CheckAccount clUid _ clHost -> do
@@ -30,8 +30,6 @@
ClearCache -> return ()
SendStats {} -> return ()
- fakeDbConnection serverInfo
-
#if defined(OFFICIAL_SERVER)
pipeDbConnectionLoop queries coreChan hIn hOut accountsCache =