summaryrefslogtreecommitdiff
path: root/src/Client/ChatClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Client/ChatClient.java')
-rw-r--r--src/Client/ChatClient.java17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/Client/ChatClient.java b/src/Client/ChatClient.java
index 4d6567b..619965f 100644
--- a/src/Client/ChatClient.java
+++ b/src/Client/ChatClient.java
@@ -100,17 +100,18 @@ public class ChatClient
/** Tasks
- * TODO: 4. But we do want to allow sending commands to the channel. A
- * message line that begins with the word "/QUOTE", will be sent as is
- * (except the word "/QUOTE") to the server.
+ * TODO: 5. When we get from the server a PRIVMSG, parse it and show who sent it.
+ * Print other messages (Server messages) differently.
+ *
+ * Example:
+ *
+ * Instead of: :tzafrir!~tzafrir@localhost PRIVMSG #the-chan :Hello There
+ * print: [#the-chan] Hello There
*
- * TODO: 5. Join a channel at startup: For any server besides our own we need to send
+ * TODO: 6. Join a channel at startup: For any server besides our own we need to send
* a JOIN command (see how it is handled in the server).
*
- * TODO: 6. Don't allow sending text until we joined a channel.
- *
- * TODO: 7. When we get from the server a PRIVMSG, parse it and show who sent it.
- * Print other messages (Server messages) differently.
+ * TODO: 7. Don't allow sending text until we joined a channel.
*/
/** Later