gameServer/ClientIO.hs
changeset 2126 cb249fa8e3da
parent 2001 d909152bdc21
child 2296 19f2f76dc346
--- a/gameServer/ClientIO.hs	Wed May 27 03:56:17 2009 +0000
+++ b/gameServer/ClientIO.hs	Wed May 27 15:29:30 2009 +0000
@@ -43,4 +43,5 @@
 
 	where
 		sendQuit e = writeChan coreChan $ ClientMessage (clientID, ["QUIT", show e])
-		isQuit answer = head answer == "BYE"
+		isQuit ("BYE":xs) = True
+		isQuit _ = False