summary refs log tree commit diff stats
path: root/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache.go')
-rw-r--r--cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.go b/cache.go
index 0a22f55..a5531b0 100644
--- a/cache.go
+++ b/cache.go
@@ -143,7 +143,7 @@ func pullDatabase() {
 			// Start with an empty Data struct. If
 			// there's already one in the cache, pull
 			// it and use it instead.
-			data := registry.NewUserData()
+			data := registry.NewUser()
 			twtxtCache.Mu.RLock()
 			if _, ok := twtxtCache.Reg[urls]; ok {
 				data = twtxtCache.Reg[urls]