feat: change guest random nameing to chance.animal() (#1245)

feat: change guest random nameing to chance.animal()
This commit is contained in:
Max Wu 2019-08-01 12:44:39 +08:00 committed by GitHub
commit 87beaa04f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ function updateUserData (socket, user) {
user.login = true
} else {
user.userid = null
user.name = 'Guest ' + chance.last()
user.name = 'Guest ' + chance.animal()
user.login = false
}
}