Added avatar check

This commit is contained in:
Eduard Urbach 2017-07-08 16:32:17 +02:00
parent 220cfb5750
commit 567d146b0e

View File

@ -0,0 +1,17 @@
package main
import (
"strings"
"github.com/animenotifier/arn"
)
func main() {
for user := range arn.MustStreamUsers() {
if !strings.HasPrefix(user.AvatarExtension, ".") {
user.AvatarExtension = ""
}
user.Save()
}
}