From 02dd770848c254d6c862030ae4bcdecc98400b1c Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Sun, 26 Feb 2023 21:21:10 +0530 Subject: [PATCH] hopefully this fixes the old users' desc issue --- pages/users.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/users.go b/pages/users.go index de2cc00..9c43f62 100644 --- a/pages/users.go +++ b/pages/users.go @@ -76,6 +76,7 @@ func userdata(username, usersonline, ops string) Userinfo { viper.SetConfigFile(filename) viper.ReadInConfig() var user Userinfo + user = Userinfo{} user.Name = username user.Created, _ = strconv.Atoi(crdstr) user.FullName = viper.GetString("fullname")