gameServer/HWProtoNEState.hs
changeset 10077 ca67740f19b2
parent 10076 b235e520ea21
child 10212 5fb3bb2de9d2
--- a/gameServer/HWProtoNEState.hs	Sun Jan 26 02:17:04 2014 +0400
+++ b/gameServer/HWProtoNEState.hs	Sun Jan 26 10:20:42 2014 +0400
@@ -58,10 +58,10 @@
     let serverHash = h [serverSalt cl, clientSalt, webPassword cl, showB $ clientProto cl, "!hedgewars"]
 
     if passwd == clientHash then
-        return $
+        return [
             AnswerClients [sendChan cl] ["SERVER_AUTH", serverHash] 
-            : JoinLobby
-            : [AnswerClients [sendChan cl] ["ADMIN_ACCESS"] | isAdministrator cl]
+            , JoinLobby
+            ]
         else
         return [ByeClient "Authentication failed"]
     where