Skip to content
Snippets Groups Projects
Commit 2437d82d authored by rswindell's avatar rswindell
Browse files

Using Avatar.read() to prime the cache.

parent ed852838
Branches
Tags
No related merge requests found
......@@ -257,7 +257,7 @@ if(options.rlogin_xtrn_menu
} else if(!(user.security.restrictions&UFLAG_G)
&& console.term_supports(USER_ANSI)
&& options.set_avatar == true) {
var avatar = Avatar.read_localuser(user.number);
var avatar = Avatar.read(user.number);
if(!avatar || (!avatar.data && !avatar.disabled)) {
alert("You have not selected an avatar.");
if(console.yesno("Select avatar now"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment