Fill Discord member list with error if it has any before bailing

This commit is contained in:
Jeremy Zhang 2018-12-31 21:05:14 +00:00
parent 952afdf31d
commit 8d1592b717

View File

@ -861,8 +861,10 @@
function fill_discord_members(discordmembers) {
if (!discord_users_list_enabled) {
if (discordmembers.length == 0 || discordmembers[0].id != 0) {
return;
}
}
discord_users_list = discordmembers;
var template = $('#mustache_authedusers').html();
Mustache.parse(template);