diff options
author | Dor Bivas <dor1_b@walla.com> | 2013-12-04 18:22:59 +0200 |
---|---|---|
committer | Dor Bivas <dor1_b@walla.com> | 2013-12-04 18:22:59 +0200 |
commit | 95c3dc2c69ad3183b8ba5a7457b7d45f264775d3 (patch) | |
tree | 63d438cf53c3e77d3d8c650091e0ec9a2a06ab96 /src/Client/ChatClient.java | |
parent | c629d87d65b36f700c508c8609127a68956027db (diff) |
privmsg
Diffstat (limited to 'src/Client/ChatClient.java')
-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 |