diff --git a/exec/logon.js b/exec/logon.js index 6094ea5ddaf410e9e5c0f022d14356a3c2b3581f..6b90cd5196dcfd812d7b17ea91322f478c60d865 100644 --- a/exec/logon.js +++ b/exec/logon.js @@ -211,7 +211,10 @@ if(options.show_avatar && console.term_supports(USER_ANSI)) { // if you want your RLogin server to act as a door game server only if(options.rlogin_xtrn_menu && bbs.sys_status&SS_RLOGIN) { - bbs.xtrn_sec(); + var xtrn_sec; + if (console.terminal.indexOf("xtrn_sec=") === 0) + xtrn_sec = console.terminal.substring(9); + bbs.xtrn_sec(xtrn_sec); bbs.hangup(); } else if(!(user.security.restrictions&UFLAG_G) && console.term_supports(USER_ANSI)