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]) }