Skip to content
Snippets Groups Projects
  • Rob Swindell's avatar
    fbf99ab6
    Add 'first_node' and 'last_node' properties to JS bbs object · fbf99ab6
    Rob Swindell authored
    This allows scripts (e.g. login.js) to have custom behavior (e.g. shortening
    the maximum inactivity timeout) based on how close the current node is to the
    configured last node number. There may be other uses too, but for the vast
    majority of Synchronet systems, first_node will always be 1 and last_node the
    same as system.nodes/lastnode. Ugh, inconsistent naming. :-(
    fbf99ab6
    History
    Add 'first_node' and 'last_node' properties to JS bbs object
    Rob Swindell authored
    This allows scripts (e.g. login.js) to have custom behavior (e.g. shortening
    the maximum inactivity timeout) based on how close the current node is to the
    configured last node number. There may be other uses too, but for the vast
    majority of Synchronet systems, first_node will always be 1 and last_node the
    same as system.nodes/lastnode. Ugh, inconsistent naming. :-(