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")