gameServer/ServerCore.hs
changeset 1833 e901ec5644b4
parent 1804 4e78ad846fb6
child 1839 5dd4cb7fd7e5
--- 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)