gameServer/OfficialServer/checker.hs
changeset 8479 8d71109b04d2
parent 8474 f6abe50095d2
child 8497 c5605c6f5bb3
--- a/gameServer/OfficialServer/checker.hs	Sat Feb 02 22:57:05 2013 +0400
+++ b/gameServer/OfficialServer/checker.hs	Mon Feb 04 00:13:55 2013 +0400
@@ -72,7 +72,9 @@
         debugM "Network" $ "Send: " ++ show p
         sendAll s $ B.unlines p `B.snoc` '\n'
     onPacket :: [B.ByteString] -> IO ()
-    onPacket ("CONNECTED":_) = answer ["CHECKER", protocolNumber, l, p]
+    onPacket ("CONNECTED":_) = do
+        answer ["CHECKER", protocolNumber, l, p]
+        answer ["READY"]
     onPacket ["PING"] = answer ["PONG"]
     onPacket ("BYE" : xs) = error $ show xs
     onPacket _ = return ()