diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Client/ChatClient.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Client/ChatClient.java b/src/Client/ChatClient.java index 01863bc..b464e5f 100644 --- a/src/Client/ChatClient.java +++ b/src/Client/ChatClient.java @@ -47,7 +47,7 @@ public class ChatClient public void PRIVMSG (String line) { - runSendline(line); + runSendline("PRIVMSG " + "#chat-dor : " + line); } public boolean connect (String host, int port) @@ -92,8 +92,7 @@ public class ChatClient /** Tasks - * TODO: 2. When the user presses "send", a message will be sent to a channel: - * use PRIVMSG to channel #chat. + * * 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 |