Commits

Cédric Bonhomme committed 7368f78

Minor changes in the server message.

Comments (0)

Files changed (1)

         }
     }
 
-    client.Outgoing <- client.Name + " has left chat"
+    client.Outgoing <- client.Name + " has left chat."
     Log("ClientReader stopped for ", client.Name)
 }
 
     go ClientSender(newClient)
     go ClientReader(newClient)
     clientList.PushBack(*newClient)
-    ch <-string(name + " has joined the chat")
+    ch <-string(name + " has joined the chat.")
 }
 
 // Main: Starts a TCP server and waits infinitely for connections
             defer netListen.Close()
 
             for {
-                Log("Waiting for clients")
+                Log("Waiting for clients...")
                 connection, error := netListen.Accept()
                 if error != nil {
                     Log("Client error: ", error)