summary refs log tree commit diff stats
path: root/registry/index.go
diff options
context:
space:
mode:
Diffstat (limited to 'registry/index.go')
-rw-r--r--registry/index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/index.go b/registry/index.go
index 4d82ebb..c3ea178 100644
--- a/registry/index.go
+++ b/registry/index.go
@@ -18,7 +18,7 @@ func (index UserIndex) AddUser(nick string, url string) {
 		log.Printf("Error formatting user add time as RFC3339: %v\n", err)
 	}
 	imutex.Lock()
-	index[url] = &Data{nick: nick, date: time.Now(), apidate: rfc3339date}
+	index[url] = &Data{Nick: nick, Date: time.Now(), APIdate: rfc3339date}
 	imutex.Unlock()
 }