Fix bug reported by KenDB3:
The JS-modeled user object's ip_address and host_name property values did not reflect the current connection during logon events (JS modules executed during logon, e.g. logon.js). Moved the initialization of the current user (sbbs_t::useron) ipaddr and comp field to sbbs_t::logon() rather than when control returns to sbbs_t::answer(). Removed the (now) redundant saves of these user fields from answer().
Please register or sign in to comment