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

Signed-off-by: BoHong Li <raccoon@hackmd.io>
This commit is contained in:
BoHong Li 2019-08-01 11:24:02 +08:00
parent e2b9ea8f15
commit 66fa2afaff
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38
1 changed files with 1 additions and 1 deletions

View File

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