From 7cf71b33fa9538ee52fa5e4b2568f7e0c53c32ae Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 7 Mar 2016 20:38:49 -0500 Subject: [PATCH] Fixed private messaging between users --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 23a1c5c..ec2dc1f 100644 --- a/server.go +++ b/server.go @@ -204,7 +204,7 @@ func (s *Server) handleCommand(client *Client, command string, args []string) { } } } else if clientExists { - client.reply(rplMsg, client.nick, client2.nick, message) + client2.reply(rplMsg, client.nick, client2.nick, message) } else { client.reply(errNoSuchNick, args[0]) }