gameServer/OfficialServer/checker.hs
changeset 10746 c882355f7bc3
parent 10742 34c1afbda24a
child 10748 dc587913987c
child 11046 47a8c19ecb60
equal deleted inserted replaced
10744:205cbe137461 10746:c882355f7bc3
   202 
   202 
   203 
   203 
   204     Exception.bracket
   204     Exception.bracket
   205         setupConnection
   205         setupConnection
   206         (\s -> noticeM "Core" "Shutting down" >> sClose s)
   206         (\s -> noticeM "Core" "Shutting down" >> sClose s)
   207         (session login password d exeFullname dataPrefix)
   207         (session login password (d ++ "/.hedgewars") exeFullname dataPrefix)
   208     where
   208     where
   209         setupConnection = do
   209         setupConnection = do
   210             noticeM "Core" "Connecting to the server..."
   210             noticeM "Core" "Connecting to the server..."
   211 
   211 
   212             proto <- getProtocolNumber "tcp"
   212             proto <- getProtocolNumber "tcp"