gameServer/HWProtoNEState.hs
branchserver_refactor
changeset 4579 4e61c2a42121
parent 4577 2c43cd7d5ce6
child 4610 9541b2a76067
--- a/gameServer/HWProtoNEState.hs	Mon Jan 10 18:29:43 2011 +0300
+++ b/gameServer/HWProtoNEState.hs	Mon Jan 10 18:57:44 2011 +0300
@@ -20,7 +20,7 @@
     let cl = irnc `client` ci
     if not . B.null $ nick cl then return [ProtocolError "Nickname already chosen"]
         else
-        if haveSameNick irnc then return [AnswerClients [sendChan cl] ["WARNING", "Nickname already in use"], ByeClient ""]
+        if haveSameNick irnc then return [{-AnswerClients [sendChan cl] ["WARNING", "Nickname already in use"], -}ByeClient "Nickname already in use"]
             else
             if illegalName newNick then return [ByeClient "Illegal nickname"]
                 else