mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Nickname, not nick
This commit is contained in:
parent
3d0ad729c1
commit
c62a7a3752
@ -1477,7 +1477,7 @@
|
|||||||
var usr = all_users[i];
|
var usr = all_users[i];
|
||||||
if (usr.username.toLowerCase().indexOf(lastWord.toLowerCase()) > -1 || (usr.nickname && usr.nickname.toLowerCase().indexOf(lastWord.toLowerCase()) > -1)) {
|
if (usr.username.toLowerCase().indexOf(lastWord.toLowerCase()) > -1 || (usr.nickname && usr.nickname.toLowerCase().indexOf(lastWord.toLowerCase()) > -1)) {
|
||||||
var displayname = usr.username;
|
var displayname = usr.username;
|
||||||
if (usr.nick) {
|
if (usr.nickname) {
|
||||||
displayname = usr.nickname;
|
displayname = usr.nickname;
|
||||||
}
|
}
|
||||||
users.push({
|
users.push({
|
||||||
|
Loading…
Reference in New Issue
Block a user