diff -r 1fb61a53a2c2 -r e901ec5644b4 gameServer/ServerCore.hs --- a/gameServer/ServerCore.hs Mon Feb 23 20:15:02 2009 +0000 +++ b/gameServer/ServerCore.hs Mon Feb 23 20:25:07 2009 +0000 @@ -13,6 +13,7 @@ import Utils import HWProtoCore import Actions +import OfficialServer.DBInteraction reactCmd :: ServerInfo -> Int -> [String] -> Clients -> Rooms -> IO (ServerInfo, Clients, Rooms) reactCmd serverInfo clID cmd clients rooms = do @@ -64,7 +65,7 @@ {- forkIO $ messagesLoop messagesChan forkIO $ timerLoop messagesChan-} --- startDBConnection $ dbQueries serverInfo + startDBConnection $ serverInfo mainLoop coreChan serverInfo IntMap.empty (IntMap.singleton 0 newRoom)