Send a response even when I wrote something in SecureChat

This commit is contained in:
Trustin Lee 2009-07-20 05:43:02 +00:00
parent 96aee007cc
commit a28d08936d

View File

@ -100,6 +100,8 @@ public class SecureChatServerHandler extends SimpleChannelUpstreamHandler {
if (c != e.getChannel()) {
c.write("[" + e.getChannel().getRemoteAddress() + "] " +
request + '\n');
} else {
c.write("[you] " + request + '\n');
}
}