hopefully this fixes the old users' desc issue
This commit is contained in:
parent
6df7b83746
commit
02dd770848
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user