diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index ab80af2..dce10a6 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -1477,7 +1477,7 @@ var usr = all_users[i]; if (usr.username.toLowerCase().indexOf(lastWord.toLowerCase()) > -1 || (usr.nickname && usr.nickname.toLowerCase().indexOf(lastWord.toLowerCase()) > -1)) { var displayname = usr.username; - if (usr.nick) { + if (usr.nickname) { displayname = usr.nickname; } users.push({