diff --git a/exec/logon.js b/exec/logon.js index e28729604e86df95b7867da56010d3e7c4afd04b..852d6741f6abb381c86b5f73a9543819e22cb56a 100644 --- a/exec/logon.js +++ b/exec/logon.js @@ -10,6 +10,7 @@ load("sbbsdefs.js"); load("text.js"); var Avatar = load({}, "avatar_lib.js"); var options = load("modopts.js", "logon"); +load("loadfonts.js"); // Check if we're being asked to auto-run an external (web interface external programs section uses this) if (options && (options.rlogin_auto_xtrn) && (bbs.sys_status & SS_RLOGIN) && (console.terminal.indexOf("xtrn=") === 0)) { @@ -100,7 +101,7 @@ for(var i=0;;i++) { var fname="logon"; if(i) fname+=i; - if(!file_exists(system.text_dir + "menu/" + fname + ".*")) { + if(!file_exists(system.text_dir + "menu/" + fname + ".asc")) { if(i>1) break; continue;